Code with MakeCode — image 2 of 2

makecode_buttonA.jpg
details

Click the INPUT block.  The Circuit Playground Express comes with lots of sensors and buttons and switches, so there are a lot of ways to trigger your lights and sounds.  You can have it trigger when you click one of the onboard buttons, or when you make a loud sound.  You can have it trigger when you shake the Circuit Playground or tilt it upside down.  There are even capacitive touch switch pads along the edge, so you can have it trigger when someone touches the Circuit Playground.  There are so many fun options!

Back

Search