Introduction: Use 8x8x8 RGB Led Cube With Arduino
8*8*8 RGB Led cube is one of the stunning RGB light cubic module designed by us,
and poses the arduino compatible interface and use the SPI interface as the control interface.
It has several color mode inside.
Step 1: Step 2: Wiring Diagram
This module could directly plug into arduino,notice not let the
USB on arduino touch the bottom of module PCB.
Step 2: Step 2： Demo Code
Step 3: Step 3: Module Command Introduce
Module support four kinds of commands, the command format is [cmd] [x] [y] [z] [r] [g] [b] [rsv]
And the cmd is the command, x, y, z, represent the three axis coordinate values, r, g, b
represent the three color of red, blue, green value of corresponding coordinate , rsv is reserved char.
Command 0 * 01: set the whole light cubic into a certain color, x, y, z is in vain.
Command 0 * 02: set the demo mode, x represent mode, y, z is in vain, r, g, b, rsv represent cycle index.
Command 0* 03: set a certain point color, x, y, z represent three coordinate, r, g, b represent the channel of red blue green.
Command 0* 04: send the data from coordinate(0, 0, 0), x, y, z, r, g, b, rsv is in vain.
Following the sending data is the point color data.