cooler
2.1.0.0
|
Cooler Click Example. More...
Macros | |
#define | COOLER_TEMP_HIGH_LIMIT 30.0 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Cooler Click Example.
This example demonstrates the use of the Cooler click board by reading the target object temperature and controlling the cooler.
The demo application is composed of two sections :
The initialization of the I2C module, log UART, and additional pins. After the driver init, the app executes a default configuration.
The demo application measures the temperature of the target object in degrees Celsius and enables a cooler if the temperature exceeds the temperature high limit value. Results are being sent to the UART Terminal, where you can track their changes.
#define COOLER_TEMP_HIGH_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 | ) |