We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you add a method for adding multiple sensors to the Arduino's? I'm not sure how to connect one to 0x68 and 0x69 and call both in a program. Thanks
The text was updated successfully, but these errors were encountered:
To use two sensors you just need to define two instances of the class and specify the address in the begin() function, like this:
MPU6050 mpu68; MPU6050 mpu69; void setup() { // ... // Syntax: MPU6050.begin(dps, range, address); mpu68.begin(MPU6050_SCALE_2000DPS, MPU6050_RANGE_2G, 0x68); mpu69.begin(MPU6050_SCALE_2000DPS, MPU6050_RANGE_2G, 0x69); // ... }
Sorry, something went wrong.
Hi!
Can you add a method for adding multiple MPU6050 to Arduino? I mean 3 or more.
Thanks a lot
No branches or pull requests
Can you add a method for adding multiple sensors to the Arduino's? I'm not sure how to connect one to 0x68 and 0x69 and call both in a program. Thanks
The text was updated successfully, but these errors were encountered: