Organize and Share your Electronics the way you want. Sign-Up for a free account now. It takes only 30 seconds!
PIC16F628 Serial 8 RGB LED Controller
This code is for a simple RGB LED controller for 8 LEDs using a PIC16F628. It is controlled by sending 3 bytes to the internal USART for the red, green, and blue color channels.
The operation is very simple and so is the wiring. The PIC selects each LED then turns on/off the respective colors then goes to the next LED. Because of persistence of vision, the eye sees the LEDs as all being on at the same time.