Circuit Playground: Part 2
Lesson 1 of 1
  1. 1
    We learned how to light up the Circuit Playground Express with its NeoPixels and utilize the A and B buttons, and the slide switch. But did you know the Circuit Playground Express can play sound?…
  2. 2
    The Circuit Playground Express has a real speaker! It’s not going to compete with your HiFi stereo, but it can play simple songs and tones. ![Speaker](https://content.codecademy.com/courses/learn-…
  3. 3
    The built-in speaker is not only capable of playing sound files; it can also play basic tones with the cpx.play_tone() function. For example, the code below would play the [middle C note](https:/…
  4. 4
    But what happens when we have more than two sounds? Two buttons is simply not enough for the cool things that we want to do. Well, we are in luck. Circuit Playground Express comes with multiple [c…
  5. 5
    Now, let’s learn about some of the wonderful sensors that come with the Circuit Playground Express. First, the Circuit Playground can see you! Okay, not really. That would be creepy. But, it can …
  6. 6
    But wait! There’s more — the Circuit Playground Express can also tell the temperature! How, you ask? With a built-in thermistor. This little sensor is a thermally sensitive resistor, meaning its r…
  7. 7
    Congratulations! You have learned how to program Adafruit’s Circuit Playground Express. Here are some of the things we learned: - Audio Output cpx.play_file(“sad.wav”) cpx.play_tone(262, 1.0) -…

What you'll create

Portfolio projects that showcase your new skills

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory