Open c0de-fox opened 6 years ago
Nice!
Now based on the current master branch.
This adds a struct that can be used to globally interact with the LEDs. Currently it defines an active state and custom RGB values.
randChangePxl has been fixed and given a massive efficiency boost.
This entire example can be loaded into your pixo-pixel to see most of the visual aspects.
A very cool addition to the PIXOPixel and it's helped me a lot in how the pixels can be mapped etc. Just a question - where do you generate the RGB array from an image, from? Have been looking online and can't find a good resource to create the array? There's a lot that create the HEX codes, but can't find the {R,G,B} style? thanks.
SORRY, i'm a dumbass!! Just remembered Sean said about a python script that converts images to the array... and there it is in the root of the repo, woops! Great PR for the project though, may be worth nudging @hodginsa / @IdleHandsProject to pull these into the master..?
Taking some inspiration from the examples, here is a collection of functions that (as of right now) provide the following: