Log in from a computer to take this course

You'll need to log in from a computer to start Learn Hardware Programming with CircuitPython. But you can practice or keep up your coding streak with the Codecademy Go app. Download the app to get started.

apple storegoogle store

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.


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

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?