i2cisolator3 2.0.0.0
|
I2CIsolator3 Click example. More...
Functions | |
void | calculate_temperature () |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
I2CIsolator3 Click example.
This is an example that demonstrates the use of the I2C Isolator 3 click board. In this example, we measure temperature from the Thermo 20 click connected to the I2C Isolator 3 click board.
The demo application is composed of two sections :
Initializes I2C and start to write log. Initialization driver enables - I2C, set I2C slave address of the Thermo 20 click, performs software reset, also write log.
In this example via Thermo 20 click we get the data processed by the function. When the function processes the data, we get the temperature information. All data logs write on USB UART changes every 3 sec.
Additional Functions :
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 | ) |
void calculate_temperature | ( | ) |
int main | ( | void | ) |