![]() ![]() The problem you have is the way you are using interrupts. He's using interrupts, so for the time being loop isn't needed. 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: ) These LED cube designs work with software and designs found on Instructables and many other sites. 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. How to build 4x4x4, 8x8x8 and 8x8x8 color LED cubes with several sample programs to demonstrate them. This is contrled through the arduino digital pins 2-7 and then analog pins 0 and 1. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |