Hi body. I'm test the OLED ssd1306 with i2c communication. And using micropython-adafruit-ssd1306 library.
I'm put the main.py (link 1): http://codepad.org/jTxAhxA7
and ssd1306 (link2): https://github.com/…/micropython-ada…/b ... ssd1306.py
To the board , but the Oled not working .
Next, i using screen to text the code step by step, but when i type : ">>> oled = SSD1306_I2C(128, 64, i2c)" , it show me the notify :
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "ssd1306.py", line 117, in __init__
File "ssd1306.py", line 37, in __init__
File "ssd1306.py", line 62, in init_display
File "ssd1306.py", line 122, in write_cmd
OSError: [Errno 110] ETIMEDOUT
So. Where my error, and how to fix it. Thank you !!
Note: I'm testing WITHOUT Oled.
[HELP] Esp can't control OLED ssd1306 i2c
Re: [HELP] Esp can't control OLED ssd1306 i2c
If you are testing without OLED, then it's no surprise that you get that error, which says "Cannot talk to the OLED".Note: I'm testing WITHOUT Oled.
Fixing that is obvious!