TheThingsNetwork / arduino-device-lib

Arduino Library for TTN Devices
MIT License
208 stars 96 forks source link

Node: Add temperature alerts #70

Closed FokkeZB closed 8 years ago

FokkeZB commented 8 years ago
        sensor.setTLOWER(configuration.tempLowerLimit);
        sensor.setTUPPER(configuration.tempUpperLimit);
        sensor.setTCRIT(55); // risk of battery failure above 55C
        attachPCINT(digitalPinToPCINT(TMP_ALERT), temperatureInterrupt, FALLING);
        sensor.configureAlert();