angle 2.0.0.0
|
Angle Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint16_t | angle_val |
uint16_t | magnetics_val |
Angle Click example.
Angle click is a precise Hall-effect angle sensing click board that can be used to measure the rotational angle of the magnetic field in the X-Y plane above it (parallel to the surface of the click), through the whole range of 360°.
The demo application is composed of two sections :
Driver intialization and Angle settings mode.
Intializes I2C module.
Reads encoded Angle in degreeses and Magnetic data in gauss.
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 angle_val |
uint16_t magnetics_val |