Go Down

Topic: Arduino Leonardo + MPU6050 ( i2cdevlib ) + Servo.h ( 2 Servos) = messed up PWM (Read 410 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 ?

ectar


Go Up