How can I program my Arduino 4x4x4 LED cube to do some more awesome stuff like ‘mini snake’?

Daniel Mortu June 10, 2013
Pinterest Stumbleupon Whatsapp

I have a LED cube (5x5x5) and if I want to put 6 buttons (like a joystick) on my Arduino, to control all three directions (x,y,z), what part of code I will change, and how?! Thank you! :)

  1. James Bruce
    June 11, 2013 at 1:12 pm

    I assume you're referring to the tutorial I wrote? Did you read my follow up? http://www.makeuseof.com/tag/programming-arduino-4x4x4-led-cube-awesome-stuff/

    The problem with adding inputs is that we don't any IO pins left on the arduino - they've all been used to multiplex the cube. So we'd have to make some fundamental changes, such as adding separate LED driver chips, if we want to add a control scheme. Or use an Arduino Mega, which has more pins.