color16 2.1.0.0
|
Color 16 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Color 16 Click example.
This example demonstrates the use of Color 16 click by reading and displaying the values from all 14 channels.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Waits for the spectral measurement complete flag and then reads data from all 14 channels in 3 cycles, and displays the results on the USB UART every 300ms approximately.
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 | ) |