magneto 2.0.0.0
|
Magneto Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
float | angle_value |
Magneto Click example.
MAGNETO Click carries contactless magnetic angle position sensor which delivers precise angle measurements down to 0.05ยบ in 14-bit resolution.
The demo application is composed of two sections :
Application Init performs Logger and Click initialization.
Magneto Click communicates with register via SPI by write and read from register and calculate float angle value. Results are being sent to the UART Terminal where you can track their changes. All data logs on USB UART for aproximetly every 2 sec.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
float angle_value |