Skip to content

8x8 LED display : temperature sensor value

framboise-pi edited this page Jun 8, 2020 · 1 revision

inspired from https://trinket.io/sense-hat

  • scale is from 0°C to 64°C max
  • if temperature >64°C, screen will display a red explanation point (as I consider it as a bit too much warm)
  • temperature and background colors are random
  • temperature color will always be more red than the background color (R=255 and background will have R=<50)
  • the temperature thermometer starts from the bottom right corner

So at 32°C, the 8x8 LED will be half hot colored.

Clone this wiki locally