MBED_DEMOS / Mbed 2 deprecated IoT_World_Hackathon_WiGo_NSP_Demo

Dependencies:   NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed nsdl_lib 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.