magneto2 2.0.0.0
|
Magneto2 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Magneto2 Click example.
This application collects data from the sensor, calculates the position of the absolute rotary angle and then logs it.
The demo application is composed of two sections :
Initializes driver and start write log.
Magneto 2 Click communicates with register via SPI by read from register and calculates position of absolute rotary angle float value. Results are being sent to the Uart Terminal where you can track their changes. All data logs on usb uart when magnetic field is detected.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |