magneticrotary 2.0.0.0
|
MagneticRotary Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
MagneticRotary Click example.
On every 500 miliseconds reads a magnetic field angle calculated to degrees for channel A in Single-Ended Mode and logs results on uart terminal.
The demo application is composed of two sections :
Initializes peripherals, pins, SPI interface for communication with the device.
Reads a magnetic field angle calculated to degrees for channel A in Single-Ended Mode and logs results on uart terminal. Repeats operation every 500 milliseconds. Note : The angle can be measured in the range from -90 to 90 degrees.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |