I have been starting to mess around with programming for the Adafruit’s Circuit Playground Express. Here is my first program to use the multicolor LEDs (neopixels) on the board to display the current temperature. The temperature is rounded to the nearest ten. Each light represents 10 degrees (1 light => 5 degrees Fahrenheit).

Screen Shot 2018-02-05 at 11.24.45 AM

Below is a link to launch the simulator. You can make it fit the screen by adjusting the width of your browser. Click the A button to activate the thermometer for five seconds. Adjust the temperature by clicking and dragging on the red thermometer in the top right.  This is the link in case you want to edit the program: (https://makecode.com/_FVbiPfTY7D6T)

 

 

Advertisements