Simple library for MAG3110 magenetometer as built into Avnet Wi-Go module

Dependencies:   MotionSensor

Dependents:   Wi-Go-MagnetometerTest EE202A_HW1_MH serialtoxively mbed_nanosec_timer ... more

This pull request has been accepted and merged in by Andrew Lindsay

Would like to move the CalXY into the library

Hi Andrew - I was creating a template project for the Freescale FRDM-KL46Z board and chose to use your MAG3110 library. I wanted to put the calibrate operation into the library and chose to add a parameter specifying a GPIO pin and polarity to monitor to coordinate the process. Would you consider incorporating this into your library?

MAG3110 library with calibrate operation included