You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've written a function for the library that reduces current need.
It sets the MPU6050 in low power/sleep mode and disables the sensors.
You have still access to the registers.
I've written a function for the library that reduces current need.
It sets the MPU6050 in low power/sleep mode and disables the sensors.
You have still access to the registers.
void MPU6050::sleep(bool sleep)
{
byte b = readMPU6050(0x6B);
bitWrite(b, 6, sleep);
writeMPU6050(0x6B, b);
}
The text was updated successfully, but these errors were encountered: