I am trying to make a display (128x32 I2C Pi OLED) to work with esp32 (ESP - WROOM-32)
OLED device is working properly as I have tested it with Arduino using Adafruit's libraries.
Esp32 device is working properly as it runs other code without problem.
I followed a video [https://www.youtube.com/watch?v=qqxgKZCTdUk] and was unsucessful in running the example code on MicroPython git site (https://github.com/micropython/micropyt ... ssd1306.py).
"i2c.writeto()" just kept timming out. It looked like I2C device was not found at all since scanning I2C returned empty list:
Code: Select all
import machine i2c = machine.I2C(-1, sda=machine.Pin(21), scl=machine.Pin(22)) print(i2c.scan())
Does anyone have a clue on what I am doing wrong?