Simple library for MAG3110 magenetometer as built into Avnet Wi-Go module
Dependents: Wi-Go-MagnetometerTest EE202A_HW1_MH serialtoxively mbed_nanosec_timer ... more
MAG3110 Class Reference
MAG3110 Class to read X/Y/Z data from the magentometer. More...
#include <MAG3110.h>
Public Member Functions | |
MAG3110 (PinName sda, PinName scl) | |
Main constructor. |
Detailed Description
MAG3110 Class to read X/Y/Z data from the magentometer.
Definition at line 81 of file MAG3110.h.
Constructor & Destructor Documentation
MAG3110 | ( | PinName | sda, |
PinName | scl | ||
) |
Main constructor.
- Parameters:
-
sda SDA pin sdl SCL pin addr addr of the I2C peripheral
Definition at line 9 of file MAG3110.cpp.
Generated on Wed Jul 13 2022 05:20:49 by
