// setOutputPin: Call this to setup the pin used for serial LED output. bPin is the pin number. setOutputPin( byte bPin ); // initCom: This MUST be called to initialize the communication with the LED string. Usually, this is done in the setup() function. void initCom(); // sendEmptyFrame: Call this to send an empty DATA frame. void sendEmptyFrame(); // sendRGBFrame: Call this to send a DATA frame. // ptRGB is a pointer to a 'byte' array containing RGB data. Format of array is byte R, byte G, byte B. // uiTableSize is the size in bytes of the array. void sendRGBFrame( byte* ptRGB, unsigned int uiTableSize ); // setPixelColor: Set the RGB data for a single LED. // pixel is the LED number to be set. Numbering begins at 0. THE VALUE IS NOT CHECKED BY THE CODE, so if you set an illegal value, RAM corruption WILL occur! // bR, bG and bB are respectively the RED, GREEN and BLUE values. // NOTE: This function only changes the buffered values. The data is not automatically sent to the LEDs... void setPixelColor(unsigned int pixel, byte bR, byte bG, byte bB); // fillPixels: Sets the RGB data for all LEDs. // bR, bG and bB are respectively the RED, GREEN and BLUE values. // NOTE: This function only changes the buffered values. The data is not automatically sent to the LEDs... void fillPixels(byte bR, byte bG, byte bB); // clearPixels: Sets all the LEDs to BLACK (OFF). // NOTE: This function only changes the buffered values. The data is not automatically sent to the LEDs... void clearPixels();