some weeks ago, a discussion started around P3 RGB pixel panel
Feedback by Gordon and by allObjects brought me to the idea to create a new device for pins.
It should
support 8 ports in parallel
be a javascipt class
replaces shiftOut and digitalWrite
be faster than these functions
supports general source and board optimized source
In a first proof of concept, attached source came up to life. Gave it the name BytePort. It includes
BytePort class
init function to assign GPIOS and mode
supports sending an array of bytes in parallel, with clock signal
supports sending a byte in serial bits
implementation for ESP32, btw. its preliminary, without DMA or some other fancy stuff
and gets the job for LED P3 64x32 done in about 20msec
Before spending more time on that, and may be running into a wrong direction, I would like to get feedback. Please see attached zip
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
some weeks ago, a discussion started around P3 RGB pixel panel
Feedback by Gordon and by allObjects brought me to the idea to create a new device for pins.
It should
In a first proof of concept, attached source came up to life. Gave it the name BytePort. It includes
Before spending more time on that, and may be running into a wrong direction, I would like to get feedback. Please see attached zip
1 Attachment