Port from Avnet's Internet Of Things full WiGo demo: SmartConfig - WebServer - Exosite - Android sensor Fusion App

Dependencies:   NVIC_set_all_priorities mbed cc3000_hostdriver_mbedsocket TEMT6200 TSI Wi-Go_eCompass_Lib_V3 WiGo_BattCharger

Embed: (wiki syntax)

« Back to documentation index

MAG3110 Class Reference

MAG3110 Class Reference

MAG3110 Class to read X/Y/Z data from the magnetometer. More...

#include <MAG3110.h>

Public Member Functions

 MAG3110 (PinName sda, PinName scl, int addr)
 Main constructor.

Detailed Description

MAG3110 Class to read X/Y/Z data from the magnetometer.

Definition at line 85 of file MAG3110.h.


Constructor & Destructor Documentation

MAG3110 ( PinName  sda,
PinName  scl,
int  addr 
)

Main constructor.

Parameters:
sdaSDA pin
sdlSCL pin
addraddr of the I2C peripheral

Definition at line 25 of file MAG3110.cpp.