lighthz 2.1.0.0
|
LightHz Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
LightHz Click Example.
This example demonstrates the use of LightHz click board by measuring and displaying the frequency of clock output signal. The higher the light intensity the higher the frequency.
The demo application is composed of two sections :
Initializes the driver and sets the sensitivity mode and frequency scaling in case the onboard jumpers are set to MCU instead to ON-BRD.
Measures the clock output frequency using the polling method and delays. The results are being sent to the USB UART.
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 | ) |