Closed bilaljo closed 3 years ago
You can initialise I2C with any pins, but 21,22 will give you hardware I2C, where other pins may be software I2C.
Thank you for your answer. Is that a tiny pico specific feature? Since I found this post on the esp32 forum:
"Yes, the digital portion has two hardware I2C modules. You don't see the pins for it in the pinout because they're conencted to the GPIO mux and you can connect them to any of the (output-capable) GPIOs."
TinyPICO is an ESP32 and can do whatever an ESP32 can do. Some pins will give you hardware, some software I2C depending on which you use.
The ESP32-PICO-D4 datasheet is the best place to look.
It is possible to use other pin than IO21 and IO22 for I2C? They are marked as I2C pins on the tinpy pico pinout which makes me quite unsure.