Make Code Thermometer

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)

https://makecode.adafruit.com/—run?id=_4cM80VD06UKd

 

 


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: