color9 2.0.0.0
|
Color9 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Color9 Click example.
This application collects data from the sensor and logs green, blue and red measurement readings.
The demo application is composed of two sections :
Initialize the driver and test if the sensor is present. If the ID read from the sensor is correct execute the initialization procedure.
Wait for the color data to be available then read the data and send it to the serial port.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |