d.send_buffer_one_by_one()MicroPython v1.8.6-18-g72a1a34 on 2016-11-14; PYBv1.1 with STM32F405RG
Type "help()" for more information.
>>>
PYB: sync filesystems
PYB: soft reboot
MicroPython v1.8.6-18-g72a1a34 on 2016-11-14; PYBv1.1 with STM32F405RG
Type "help()" for more information.
>>> import disp
>>> d = disp.create_display()
>>> d.fill_buffer(0b00000101)
>>> d.send_buffer_one_by_one()
>>> d.fill_buffer(0b00000111)
>>> d.send_buffer_one_by_one()
>>> d.fill_buffer(0b00001111)
>>> d.send_buffer()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "display/ssd1322.py", line 81, in send_buffer
File "display/__init__.py", line 47, in write
OSError: [Errno 110] ETIMEDOUT
>>>
PYB: sync filesystems
PYB: soft reboot
PYB: can't mount SD card
MicroPython v1.8.6-18-g72a1a34 on 2016-11-14; PYBv1.1 with STM32F405RG
Type "help()" for more information.
>>>
PYB: sync filesystems
PYB: soft reboot
PYB: can't mount SD card
MicroPython v1.8.6-18-g72a1a34 on 2016-11-14; PYBv1.1 with STM32F405RG
Type "help()" for more information.
>>>
PYB: sync filesystems
PYB: soft reboot
PYB: can't mount SD card
MicroPython v1.8.6-18-g72a1a34 on 2016-11-14; PYBv1.1 with STM32F405RG
Type "help()" for more information.
>>> import disp
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: no module named 'disp'
d.send_buffer()
Here is the code
Also is it possible to specify a timeout for SPI.write()?