Code used to control a 8x8x8 LEDCube with a dsPIC33