IMU control with Moddable
-
We just added drivers for the on-board InvenSense MPU-6050 accelerometer/gyro and Xtrinsic MAG3110 magnetometer to the #M5Stack Fire host in the Moddable SDK. Our new IMU example uses their W3C Sensor-style API to visualize device movement. https://github.com/Moddable-OpenSource/moddable/tree/public/examples/drivers/m5stack-imu
Video: https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Blog/Twitch201904/M5Stack_Moddable_mpu6050_mag3110.mp4
Twitter: https://twitter.com/moddabletech/status/1117913613031751680