Go to advanced search

by n1ck75
Sun Sep 20, 2015 3:11 pm
Forum: Astro Pi
Topic: Temperature Value Shown on LEDs
Replies: 19
Views: 20351

Re: Temperature Value Shown on LEDs

How could you show colour variant to indicate temperature?

Example;

Above 16C = Red
Below 16C = Blue
by n1ck75
Sat Sep 12, 2015 4:05 pm
Forum: Astro Pi
Topic: Temperature Value Shown on LEDs
Replies: 19
Views: 20351

Re: Temperature Value Shown on LEDs

Updated to just show the temperature continuously (Thx Scotty101) #!/usr/bin/python from sense_hat import SenseHat import time while True: ap = SenseHat() temp = ap.get_temperature() print("Temp: %s C" % temp) # Show temp on console ap.set_rotation(180) # Set LED matrix to scroll from right to left ...
by n1ck75
Fri Aug 28, 2015 11:41 pm
Forum: Astro Pi
Topic: Temperature Value Shown on LEDs
Replies: 19
Views: 20351

Temperature Value Shown on LEDs

Code totally lifted from Johnny5C, updated sensehat parts. was wondering if you could get the output to flash up (fade in) every x seconds to just show temp? #!/usr/bin/python from sense_hat import SenseHat import time ap = SenseHat() temp = ap.get_temperature() humidity = ap.get_humidity() pressure...

Go to advanced search