Temperature Sensor Updates
MJoosep opened this issue · comments
MJoosep commented
If temperature sensor reading is faulty (exception is called), current temperature should be set above maximum allowed temperature so the lamp systems could shut themselves down safely to avoid breaking the lamp due to overheating.
If Lamps maximum temperature has been reached the render loop should stop and the Leds should turn off. The indicator leds(apa/neopixel) should indicate a certain pattern (red,yellow,red,yellow,red,yellow) when lamp has overheated and thus not functioning properly.
- Faulty reading results in maximum temperature + 10
- Overheating is indicated on indicator leds