I am hitting the following error message when trying to run this module
�Traceback (most recent call last):
File “main.py”, line 13, in <module>
File “ssd1306.py”, line 110, in __init__
File “ssd1306.py”, line 36, in __init__
File “ssd1306.py”, line 71, in init_display
File “ssd1306.py”, line 115, in write_cmd
OSError: [Errno 110] ETIMEDOUT
line 13 in main.py is oled = ssd1306.SSD1306_I2C(oled_width, oled_height, i2c
All code (ssd1306.py and main.py) is copied direct from github links as per book:
Thanks
Steve
Hi Steve.
What version of micropython firmware are you using?
I’ve just tested the code as in the eBook and it is working just fine for me.
It seems to be a problem related to the I2C connections to the OLED display.
Double-check that the OLED display is connected properly and that you’ve copied the library file correctly.
Let me know if you were able to solve it.
Regards,
Sara