just wanted to ask if you already made any progress
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Hello !nui_de wrote:just wanted to ask if you already made any progress
Yes asynchronous is mandatory, I thought it was included as for the PyBoard.danicampora wrote:DMA will come, but we need the asynchronous API as well. DMA by itself won't save anytime if you still have to wait for the transfer to complete before moving on.
My bad !danicampora wrote:The pyboard doesn't have an asynchronous API yet...
Code: Select all
# values to put inside the SPI register for each bit of color
bits = (bytearray((0xE0, 0xE0)), bytearray((0xE0, 0xFC)),
bytearray((0xFC, 0xE0)), bytearray((0xFC, 0xFC)))
Code: Select all
for bit in range (0, 8, 2):