Closed holema closed 6 years ago
@holema This error is hard. See Issue #8 for a discussion.
The only solution I have found is a hardware reset. A reboot, does not fix it.
Chuck.
@holema I think I have implemented a fix for this issue.
Try this branch stickbreaker-Busy-Glitch.
You just need to replace: \cores\esp32\esp32-hal-i2c.c \cores\esp32\esp32-hal-i2c.h \cores\esp32\esp32-hal-log.h \libraries\Wire\src\Wire.h \libraries\Wire\src\Wire.cpp
Chuck.
Hardware:
Board: ESP32 Himalaya Core Installation/update date: 14.2.2018 IDE name: Platform.io Flash Frequency: 40Mhz Upload Speed: 115200
Description:
Hello, I use the ESP32 with an I2C PWM Expander PCA9685. With the ESP8266 I had no problem with this IC. But with the ESP32 I get an timeout, but only with this IC. On the same Board there is an LM75 Temp-Sensor, that delivers right values if the PCA is disassembled. I use this Library: https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library/blob/master/Adafruit_PWMServoDriver.cpp library to controll the PCA9685
Sketch:
Debug Messages: