i2cmux 2.0.0.0
|
I2cMux Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
I2cMux Click example.
This example demonstrates the use of I2C MUX Click board.
The demo application is composed of two sections :
Initalizes the driver, preforms hardware reset, then enables channel 0 and makes an initial log.
Reads the device ID of a Spectrometer click (dev ID: 0x24) and displays it on the USB UART each second.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |