Soft 404
scottiebabe wrote:
Although this maybe is maybe isn't the greatest example...
I disagree. This is exactly the sort of thing that the PIO is for, and a nice write up.
Thanks for posting.
This is the first post I've seen where someone makes the PIO do something with their own code.
Pretty much everything else seems to use it like an AVR on an Arduino.
Which toolchain/development host are you using ?
MK
I don't know about the RP2040 or micropython, but I have a question. In those examples are you using threads for the LCD driver or is everything running from the main thread?
If everything is being executed from the main thread, it would make it much faster to execute the LCD driver from another thread.
I see. I ran into a similar problem recently for project14's photography project to drive a 4x7 segment display and I solved it using an SPI port and the 8-bit shift register SN74HC595NSN74HC595N. I think the raspberry pi pico has two SPI ports and something similar could be done.
Window Opening Monitor with ArUco - Multi-window driver 4x7 segment display
Great post, you convinced me to buy one
Thank you for the reply.
Are you try the some code with "out_shiftdir=PIO.SHIFT_LEFT" sometime?
I found that SHIFT_RIGHT works fine, but SHIFT_LEFT not. Is it a problem of micropython or RP2040 limitation?