Go Down

Topic: Arduino Leonardo + MPU6050 ( i2cdevlib ) + Servo.h ( 2 Servos) = messed up PWM (Read 548 times) previous topic - next topic

ectar

Guys, please help to understand something:

Im trying to get data from i2cdevlib running MPU6050 to control servos, but strange stuff happening, it seems like when i2cdevlib library start getting data from Sensor my PWM signals  are totally messed up....
I using pins 10, 11 on Leonardo.

In same time  my other very simple MPU6050 test  code with plain calculation works ok, ( but signals from sensor and not as nice and smooth  as from i2cdevlib )

Is it possible that i2cdevlib for MPU6050 prevent Servo library from work properly ?


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy