c3dhall5 2.0.0.0
|
3dHall5 Click example More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
3dHall5 Click example
The Demo application displays and reads 3 magnetic axes.
The demo application is composed of two sections :
Configuring clicks and log objects. Reads device ID for check communication.
Reads the magnetics X / Y / Z axis data every 1 seconds.
note: Default communication that is set is I2C communication. If you want to use SPI, you have to set up the cfg structure.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |