uv5 2.1.0.0
|
UV 5 Click example. More...
Macros | |
#define | OUTCONV |
#define | FSRE_UVA |
#define | FSRE_UVB |
#define | FSRE_UVC |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
UV 5 Click example.
This example demonstrates the use of UV 5 click board by measuring the light irradiance of the UVA, UVB and UVC.
The demo application is composed of two sections :
Initializes the driver, and performs the click default configuration.
Measuring light irradiance level by reading data from the UV 5 click board approximately every 4 seconds and displaying it using UART Serial terminal.
#define FSRE_UVA |
#define FSRE_UVB |
#define FSRE_UVC |
#define OUTCONV |
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 | ) |