Multi colour LED driver
pp9e3b7a3a.png
The PIC responds to seven, two byte commands

Rx - sets the red output level
Gx - sets the green output level
Bx - sets the blue output level
Lx - loads the PIC setting from its internal EEPROM (x  is ignored but must be sent)
Mx - sets the current Mode (0 = direct control, 1 = two colour roll only lsb is used)
Px - set the repeat period for the two colour roll (x = seconds)
Sx - Saves the current settings to the PIC’s internal EEPROM (the PIC will load these value on power up, x  is ignored but must be sent)


x = byte of value 0-255

Serial port should be set to 115,200 baud, 8 bits, No parity, 1 stop bit
ppd645ee4a.png
Click to see larger version
pp3df4401b.gif