gaydaa.blogg.se

Download 8x8x8 led cube program software
Download 8x8x8 led cube program software




download 8x8x8 led cube program software

He's using interrupts, so for the time being loop isn't needed.

download 8x8x8 led cube program software

Looks like your program does exactly what you're telling it to do. Thats my code with a manually entered pattern (I'm trying to render a box on the side of the cube) #include ĭigitalWrite(latch, LOW) //Loads the bytes one layer at a time (i hope D: ) The plan is to load 8 bytes into the registers, turn on the z=0 layer, then load the next 8 bytes and turn on the z=1 layer, etc over and over again. This is contrled through the arduino digital pins 2-7 and then analog pins 0 and 1.

download 8x8x8 led cube program software

The z coordinate is controlled by the ground layer that is turned on. I have tried many things but nothing seems to work.Įach shift register controls 8 LEDs (You can think of each register as "x" and the y is the individual bit for example, the byte in the first register would be B00000001 with the "1" being led 0,0,z) The problem I'm having is with the code to have it automatically refresh and project the bytes stored in an 8x8 byte array. Tested manually by setting all the bytes to 11111111 and changing the layers activates each "plane" correctly. Hey guys! I built an 8x8x8 cube that I'm driving with daisy chained 74HC595s.






Download 8x8x8 led cube program software