This sample code is a reproduction of the Sens'it Discovery's Light mode.
With the Light firmware your Sens'it will make a brightness measurement every hour and send values in a Sigfox message using the Sens'it Discovery payload format.
You can also force a new measurement and message with a double press on the button.
This firmware is compatible with the sensit.io application.
To build this firmware, use the make light
command.
If you want to change the measurement and message sending period, you can edit the MEASUREMENT_PERIOD
define.
- Sens'it Team
- Copyright (c) 2018 Sigfox, All Rights Reserved.