I am working with an ESP32S that has 38Pins. I have not been able to get the I2c bus to recognize a DS3231 RTC
I have try to scan the bus with no luck. Any help would be greatly appreciated. I have 2k pull up resistors on both lines.
import machine i2c = machine.I2C(-1, scl=machine.Pin(5), sda=machine.Pin(4)) print('Scan i2c bus...') devices = i2c.scan() if len(devices) == 0: print("No i2c device !") else: print('i2c devices found:',len(devices)) for device in devices: print("Decimal address: ",device," | Hexa address: ",hex(device))