Home | History | Annotate | Download | only in javascript

Lines Matching refs:sensorObj

29 var sensorObj = require('jsupm_mpu9150');
32 var sensor = new sensorObj.MPU60X0();
37 var x = new sensorObj.new_floatp();
38 var y = new sensorObj.new_floatp();
39 var z = new sensorObj.new_floatp();
47 console.log("Accelerometer: AX: " + sensorObj.floatp_value(x) +
48 " AY: " + sensorObj.floatp_value(y) +
49 " AZ: " + sensorObj.floatp_value(z));
52 console.log("Gyroscope: GX: " + sensorObj.floatp_value(x) +
53 " AY: " + sensorObj.floatp_value(y) +
54 " AZ: " + sensorObj.floatp_value(z));
66 sensorObj.cleanUp();
67 sensorObj = null;