Open gokulvenkat opened 1 year ago
Add this line after 'import time' line (around line 16) from machine import Pin, I2C
Change this line (around line 141)
from:
i2c = machine.I2C()
to
i2c = machine.I2C(sda=Pin(11), scl=Pin(12))
Replace 11 and 12 with your pin numbers (11 and 12 are the pins on the Arduino Nano ESP32).
I had to adjust the change above to this adding the bus # and freq to get it to run on an RP2040-zero: i2c = machine.I2C(0, scl=Pin(5), sda=Pin(4), freq=400000)
Love the large font and work you did. The baseline font is almost unreadable.
your work looks great and hatsoff to you and your team .i need to assign different pin for scl and sda so can you include a line to change the pin number.thanks in advance and have a great day