accelerometer + magnetic field sensors demo