Learn
Congratulations! We have learned the basics of Adafruit’s Circuit Playground Express using CircuitPython. 🙌
Here are some of the things we learned:
- The
cpx
module has a lot of nifty functions. - What NeoPixels are and how to give them colors individually/together:
cpx.pixels[index] = (red, green, blue)
cpx.pixels.fill( (red, green, blue) )
- Slide Switch:
cpx.switch
- Button A:
cpx.button_a
- Button B:
cpx.button_b
Here is a Circuit Playground Cheatsheet.
Instructions
If you are still feeling iffy about some of the code, take a look at the Learn Python 3 course.
Sign up to start coding
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.