You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings, I'm getting this error requestFrom(): i2cWriteReadNonStop returned Error -1. When I try the example code for I2C it works but then with my code doesn't. Both codes are more or less the same. I'm using an ESP32-S3 so i use the pins that I want, 5 for clock and 6 for data. I tried using other pins, using pullup resistors, or changing to UART but there's no communication. What it stranges me the most is that sometimes with anotther code, like the example code, it works. But then with another similar code it doesn't. I think it's something about the hardware or even the module itself. Thanks
Greetings, I'm getting this error
requestFrom(): i2cWriteReadNonStop returned Error -1
. When I try the example code for I2C it works but then with my code doesn't. Both codes are more or less the same. I'm using an ESP32-S3 so i use the pins that I want, 5 for clock and 6 for data. I tried using other pins, using pullup resistors, or changing to UART but there's no communication. What it stranges me the most is that sometimes with anotther code, like the example code, it works. But then with another similar code it doesn't. I think it's something about the hardware or even the module itself. ThanksHere's my code:
Output:
The text was updated successfully, but these errors were encountered: