Today, I got the the byte operators down. By taking a base 10 value 0 -255 and comparing it using (variable & 0b00000000) i was able to convert the base ten value into a binary number in the high and low pulls of the pins. From there i repeat that three times to send data to each pixel. Each pixel requires it's own set of three values. For 4 Pixels you would need to repeat the byte process 12 times. However by using a function, it can be made easier. Now i have to work on making patterns, then make the sensor for the drum, and figure out the mounting system.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.