The 4x4x4 RGB Cube is Arduino compatible, and has the same ATmega32u4 MCU as found in the Arduino Leonardo and the Freetronics LeoStick. The Cube ships with test pattern firmware already loaded, but you can replace it with one of our example sketches or write your own.
Download And Install Arduino IDE
If you don't have the Arduino IDE already installed, download and install the current version to suit your operating system from www.arduino.cc/en/Main/Software.
Install The Cube4 Library
Download the Cube4 library from the Freetronics repository on GitHub and install it in your Arduino IDE. Visit the following repository in your browser, and click the "ZIP" button near the top left to download it as a ZIP archive:
Uncompress the archive and rename the folder to "Cube4", then move it into your sketchbook/libraries/ folder. Restart the IDE.
For more detailed instructions, see How To Install Arduino Libraries.
Install the LeoStick Board Profile
It is possible to use the Arduino Leonardo option (Tools -> Board -> Arduino Leonardo in the Arduino IDE) to upload to the Cube4.
However if you install the LeoStick Board Profile by following the LeoStick Getting Started Guide then you can choose "Tools -> Board -> Freetronics LeoStick V2.0" instead and the Cube4 will then correctly identify itself as a Freetronics device.
On Windows you will also need to install the Freetronics Windows driver file.
After installing the Cube4 library and restarting the IDE, you will now have new entries in the examples menu at File -> Examples -> Cube4. Look through them for examples of different patterns you can run on your Cube4.
The examples are also a good way to learn how to write your own sketches to run on your Cube4. Look at the sketch source code to see how they address and update LEDs.
The library API follows a similar structure to the serial command API.
More information to come.