lsm303agr 2.0.0.0
|
LSM303AGR Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
LSM303AGR Click example.
This example returns accel and magnet values from the LSM303AGR sensor.
The demo application is composed of two sections :
I2C Driver initaliation and setting operating modes of accelerometer and magnetometer
Reading accelerometer and magnetometer axis X,Y,Z and displaying via UART
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |