5 channel aquarium LED controller with web interface for ESP32 boards. Supports DS18B20, SSD1306, ILI9341, XPT2046 and SmartConfig. Arduino IDE.
62
stars
20
forks
source link
Use CRC to check if value is valid temperature. #1
Closed
CelliesProjects closed 7 years ago
Sometimes the Dallas sensors will return an invalid value. Check the value with a CRC. See https://github.com/PaulStoffregen/OneWire/blob/master/examples/DS18x20_Temperature/DS18x20_Temperature.pde#L38-L42 or https://github.com/PaulStoffregen/OneWire/blob/master/examples/DS18x20_Temperature/DS18x20_Temperature.pde#L82-L84