thermostat5
2.1.0.0
|
Thermostat 5 Click Example. More...
Macros | |
#define | THERMOSTAT5_TEMPERATURE_LIMIT 30.0 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Thermostat 5 Click Example.
This library contains API for the IR Sense 5 Click driver for temperature measurement and relay control.
The demo application is composed of two sections :
The initialization of the I2C or ADC module and log UART set the relay to an OFF state.
The demo application measures temperature in degrees Celsius. If the temperature increases above 25 degrees Celsius, the relay will turn ON, otherwise it will turn OFF. Results are being sent to the UART Terminal, where you can track their changes.
#define THERMOSTAT5_TEMPERATURE_LIMIT 30.0 |
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |