Xinyuan-LilyGO / LilyGo-T5-Epaper-Series

173 stars 57 forks source link

Access I2C on T-Dispay E-paper 1.02" #51

Open dominator15 opened 3 months ago

dominator15 commented 3 months ago

Hi, on the model T-Dispay E-paper 1.02" i do not see any output for i2c such as on TTGO T-Display 1.14 Inch LCD. On LCD version there is pin 21 and 22 for I2C but on e-paper version pinout i do not see any port labelled i2c. Does this board not support I2C?

lewisxhe commented 2 months ago

I2C is freely mapped to IO on both sides, and SDA and SCL are specified during initialization. For example

Wire.begin(5//sda,6//scl)