Python read magnetic sensor
I am trying to get a reading from the magnetic sensor. But it is not
giving me a value.
import android
droid = android.Android()
droid.startSensing(5)
print droid.sensorsReadMagnetometer()
How do i read the sensors?
No comments:
Post a Comment