piezoaccel250g
2.1.0.0
|
Piezo Accel 2 50g Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Piezo Accel 2 50g Click example.
This example demonstrates the use of Piezo Accel 2 50g Click board by reading and displaying the ADC values of X, Y, and Z axis, and the internal temperature sensor measurements. Those data can be visualized on the SerialPlot application.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration for ADC measurements.
Reads the ADC values of X, Y, and Z axis, and the internal temperature sensor measurements and displays them on the USB UART (SerialPlot) every 5ms 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 | ) |