Replies: 1 comment 3 replies
-
Thanks for the testing. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hellol Armin,
Thanks for writing and sharing this code.
I am writing code for controlling leds and servo's with an ESP32 with the PCA9685.
I can't use our lib 1 on 1, so i copied and renamed it and modified it to sue my purpose.
I removed the 20ms Ticker and do everything with de round robin update.
I read in the code you had some issues with i2c and PCA9685. Well, i had some too.
After examine the i2c signals with an oscolloscope i saw the signals were bad. I found out that the wire lib of the ESP32 use the internal pullup resisters as the i2c pullup's. They are to high to be in spec of the 12c specs. I have removed the PULLUP option in the wire library and use 2k2 resistors as i2c pullups.
The i2c signals are now good and i use the 400000hrz i2c busfrequency. I works now for 8 hours without problems.
Again, thanks for the lib.
Greets lamello
Beta Was this translation helpful? Give feedback.
All reactions