Is there any particular bit set by default in ESP32, internally sets GPIO 21 and 22 as I2C pins. Even though i am using GPIO 21 as interrupt pin(push button) and GPIO 22 as normal GPIO(LED)?
Whenever i use both I2C and interrupt code, i get I2C read error.
Search found 2 matches
- Wed Dec 13, 2017 9:51 am
- Forum: General Discussion
- Topic: I2C default pins as GPIO 21 and 22 ?
- Replies: 0
- Views: 2208
- Tue Dec 12, 2017 4:15 am
- Forum: General Discussion
- Topic: I2C read error
- Replies: 0
- Views: 2049
I2C read error
We have used GPIO 25 and GPIO 4 as SDA and SCL respectively. Tested separately and it's working. We have used GPIO 21 as interrupt pin and GPIO 22 as normal GPO(LED). Tested separately and it's working. But when embedded both code into single application i am getting I2C read error. Is there any par...