Home
last modified time | relevance | path

Searched refs:mpu6050Dev (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/py_engine/tests/haas/HaaS100/python-apps/driver/i2c/
A Dtest_mpu6050.py19 mpu6050Dev = MPU6050() variable
20 mpu6050Dev.open("mpu6050")
21 mpu6050Dev.init()
24 temp = mpu6050Dev.get_Temperature()
28 gy = mpu6050Dev.get_Gyroscope()
31 ac = mpu6050Dev.get_Accelerometer()
34 mpu6050Dev.close()
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/driver/i2c/
A Dtest_mpu6050.py19 mpu6050Dev = MPU6050() variable
20 mpu6050Dev.open("mpu6050")
21 mpu6050Dev.init()
24 temp = mpu6050Dev.get_Temperature()
28 gy = mpu6050Dev.get_Gyroscope()
31 ac = mpu6050Dev.get_Accelerometer()
34 mpu6050Dev.close()
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/driver/gyroscope/
A Dmain.py7 mpu6050Dev = MPU6050() variable
8 mpu6050Dev.open("mpu6050")
9 mpu6050Dev.init()
25 ac = mpu6050Dev.get_Accelerometer()
34 mpu6050Dev.close()
/AliOS-Things-master/components/amp/modules/
A Dmpu6050.js151 var mpu6050Dev; variable
174 mpu6050Dev.write(Reg);
181 mpu6050Dev.write(Reg);
182 value = mpu6050Dev.read(1);
190 mpu6050Dev.write(reg);
193 mpu6050Dev.write(data[i]);
201 mpu6050Dev.write(reg);
204 data[i] = mpu6050Dev.read(1);
349 mpu6050Dev = i2c.open({id: i2cid});
376 mpu6050Dev.close();

Completed in 5 milliseconds