Post links and attach files for documentation here, also chat about these docs freely

User avatar
By phil12345678
#71277 Hello,

using a nodemcu, I just managed to make my 20x4 lcd working, but there is no dsa/scl on any pinout chart I found on the web

(I got it working usin sda on D2 and scl on D1 from a tutorial)

is there no official documentation for this ? is the official arduino lcd library using these pins as default for bigbanged i2c protocol ?

thanks
User avatar
By schufti
#71308 It is not defined in lcd lib but in board definitions.
For esp-01 it is gpio0/2 for obvious reasons, for others it is gpio4/5 I think.
User avatar
By QuickFix
#71341 There's even a nice picture in our Wiki. 8-)

Image

Because the ESP doesn't have hardware I2C support, it's not in the above list, like for instance SPI is.
But... normally GPIO4 (SDA) and GPIO5 (CLK) are used for I2C. :idea: