I have created a sign and want to be able to easily change each letter. I have done this but with much more code than I would like to use. I would like to use the code leds[L] = …; to represent the letter L (leds 0,11) in the array. Is there a way to set this up?
This would make coding more intuitive in future projects. It would be nice to be able to single out a section of an array with a keyword instead of referring back to the LED numbers. I have been trying different methods with errors and have not found anything online that brings the solution I am looking for.
Is each letter a consecutive range of pixels? Like L=0-10, U=11-26, M=27-40, etc.? If so have you try using RGBSet?
Two simple examples using RGBSet:
If they’re not consecutive you can’t use RGBSet and will probably need to make your own arrays. Or… maybe you could pixel map the whole thing as a really wide matrix? Like 100w x 10h pixels for example. I wonder what you could do with that?!