Home
last modified time | relevance | path

Searched refs:myAccelrCompass (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dlsm303.js30 var myAccelrCompass = new accelrCompassSensor.LSM303(0); variable
36 successFail = myAccelrCompass.getCoordinates();
39 coords = myAccelrCompass.getRawCoorData();
46 outputStr = "coor: gX " + myAccelrCompass.getCoorX()
47 + " - gY " + myAccelrCompass.getCoorY()
48 + " - gZ " + myAccelrCompass.getCoorZ();
52 console.log("heading: " + myAccelrCompass.getHeading());
55 myAccelrCompass.getAcceleration();
56 accel = myAccelrCompass.getRawAccelData();
62 outputStr = "acc: gX " + myAccelrCompass.getAccelX()
[all …]
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dlsm303.py30 myAccelrCompass = lsm303.LSM303(0) variable
51 successFail = myAccelrCompass.getCoordinates()
54 coords = myAccelrCompass.getRawCoorData()
64 myAccelrCompass.getCoorX(), myAccelrCompass.getCoorY(),
65 myAccelrCompass.getCoorZ())
69 print "heading:", myAccelrCompass.getHeading()
72 myAccelrCompass.getAcceleration();
73 accel = myAccelrCompass.getRawAccelData();
82 myAccelrCompass.getAccelX(), myAccelrCompass.getAccelY(),
83 myAccelrCompass.getAccelZ())