MPU-6050 configuration with library 본문
MPU-6050 configuration with library준호씨 2018. 5. 21. 16:59
After I uploaded MPU-6050 soldering and testing movie (https://www.youtube.com/watch?v=iFp8aIoDzwI http://junho85.pe.kr/932)). Someone asked me "how to change the range of the accelerometer and gyroscope to 8g and 500 degrees / sec?"
I didn't know it is configurable before that question. So I searched and found it could be possible.
But it looks like to use MPU6050 library.
It was not MPU6050_tockn library
MPU6050_tockn is registered at Library Manager. But in 1.2.1, it does not have accelerometer and gyroscope configuration.
use MPU6050 library of i2cdevlib
If you want to change the range of the accelerometer and gyroscope, write code like below.
I haven't tested yet