amrangle 2.0.0.0
|
AMRAngle Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
AMRAngle Click example.
This demo application shows the performance of AMR Angle click by reading and presenting the temperature and angle results on the UART log.
The demo application is composed of two sections :
Starts up the UART LOG, SPI and ADC drivers. Performs the default settings like setting the adc vref, resolution and gpio pins.
The application task consists of reading the temperature and angle data from the sensor and sending that data to the UART log every second.
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 | ) |