Answer the question
In order to leave comments, you need to log in
How to light individual LEDs on a 4x4x4 Arduino cube?
I've been trying to write sketches for the Led Cube on Arduino for a month now, and all in vain. Tell me, what code should I write to light individual LEDs?
Answer the question
In order to leave comments, you need to log in
Everything is 100% dependent on how the cubed diodes are switched. See the diagram, track where you need to apply + power (log 1), and where 0 to turn on a specific diode. And in accordance with this, set the legs on the controller.
To save conclusions, shift registers are usually used in such cases, for example, 74HC595 as a serial-to-parallel converter. They are a little more difficult to control than just a kick, and the speed decreases proportionally, but there is the possibility of theoretically unlimited expansion of the conclusions along 3 wires
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question