thermo20 2.0.0.0
|
Thermo20 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Thermo20 Click example.
This example showcases the ability of Thermo 20 Click board to read it's serial number. It can read themperature and measure from -40degC to 120degC.
The demo application is composed of two sections :
Initialization communication modules(I2C, UART). Resets device and read Serial Number.
In span of ~ 1000ms it sends command for adc conversion of temperature, reads ADC value, and calculates temperature in degrees C.
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 | ) |