i have following Problem: I have A raspberry Pi 3B+ with a Touchscreen, which uses every Single Pin on the 40Pin GPIO header. The only thing i have is a i2c breakout on my Touchscreen. But i have the problem, that i want to control Adressable RGB strips(ws2812) over this Touchscreen and these Strips are only able to get Data directly over one of the direct GPIO on the 40Pin GPIO header. The Pinout for my Touchscreen is here: pinout.xyz/pinout/hyperpixel
So i have following idea: I add one cheap Raspberry Pico or Zero and receive the Data splitted over a few I/O's from my Pi 3B+. I would take an I2C expander Board for my Pi 3B+ and write there my Outputs in a fast way, where i can read them on the other side on my Pi pico/Zero.
So, my main Problem is, that i want to create some lines of code, to write and read my Data. Does somebody have any examples or helpful links? The Data, which has to be transported is 0-255 for Brightness, Red, Green and blue. So, there are only 4x8Bits, which i would like to transfer, but i want it really fast, that i dont recognise the delay between color- and Brightness input on my Touchscreen and the changed Brightness and Color on my Adressable RGB Led-strip.
Thanks