-
Thursday 8/26/16
08/26/2016 at 03:10 • 0 commentsToday, 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.
-
Tuesday 8/23/16
08/26/2016 at 03:02 • 0 commentsToday, I worked out the timing per bit for the bits that will eventually become bytes. The one bits are 1300 nano seconds high, and 350 nano seconds low, while the zero bits are the opposite. I initially began using while loops and PINB =1/0 commands, but soon switched to NOP to adjust the time. Soon i will be able to string the bits into bytes which from there are strung in groups of three for the RGB data for each NeoPixles