As the title says... Chat on...

User avatar
By Philip Wellm
#66010 Hello forum,

as a project i tried to hook up an I2C Device to my esp8266.
We (accidently) ordered the ESP-01 Version where only 2 GPIO pins are available.

https://alselectro.files.wordpress.com/ ... =499&h=299

Enough i thought, but i tried to hook up my I2C device with

sda=0 -- connect to pin GPIO0
scl=2 -- connect to pin GPIO2

print(i2c.setup(id, sda, scl, i2c.SLOW))

and it sais "no i2c for D0"

am i missing something? is there a way to use the tx pin for i2c communication?