bertrik / LoraWanPmSensor

Particulate matter sensor using LoRaWAN as the transport mechanism
https://revspace.nl/LoraWanDustSensor
MIT License
11 stars 5 forks source link

Button press: enable screen instead of re-doing OTAA #2

Closed bertrik closed 3 years ago

bertrik commented 3 years ago

https://github.com/bertrik/LoraWanPmSensor/blob/7aa8069d1d6aca8e917cee5e21a3939d6e1b4277/Esp32PmSensor/Esp32PmSensor.ino#L546

OTAA is done on every reboot anyway. It makes more sense to use the button to (re)-enable the screen display.