For this assignment, I used a potentiometer and a button. (Used alligator clips for now. . .will sauter it later)
The button switches between R G and B, while the potentiometer is mapped to change these individual colors.
For the first iteration, I assigned the first pixel to show the color that is currently being manipulated while changing all the other pixels based on the current RGB values.
For the second iteration, the function of the first pixel remains the same while the second pixel shows the current visual value of R, the third for G, and the fourth for B. The last pixel shows those three colors mixed together.
Code can be found here: https://drive.google.com/open?id=1Bibfpwok7BFt2X120yFS-If58KweEJNs
Leave a Reply