Code: Select all
MicroPython v1.14 on 2021-02-02; PYBv1.1 with STM32F405RG
Type "help()" for more information.
>>> import machine, ssd1306
>>> i2c = machine.I2C('X')
>>> oled = ssd1306.SSD1306_I2C(128, 32, i2c, 0x3c)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "ssd1306.py", line 110, in __init__
File "ssd1306.py", line 36, in __init__
File "ssd1306.py", line 73, in init_display
File "ssd1306.py", line 101, in show
File "ssd1306.py", line 119, in write_data
TypeError: object with buffer protocol required
>>>
Code: Select all
self.i2c.writevto(self.addr, self.write_list)
Any thoughts?