force4 2.0.0.0
|
Force4 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint16_t | adc_val |
Force4 Click example.
This example shows the use of Force 4 Click. It reads 12bit ADC value, using I2C communication, at the interval of one second. The result is represented on the UART terminal.
The demo application is composed of two sections :
Initializes the driver and logger, and makes an initial log.
It reads 12bit ADC value, using I2C communication, at the interval of one second. The result is represented on the UART terminal.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
uint16_t adc_val |