Introduction - If you have any usage issues, please Google them yourself
Using PIC12C508 microcontroller, the internal 4MHz clock, 4 feet 50HZ input pulse signal, 7,6,3-pin (GP0, GP1, GP4 port) for the output. Part one of gradual change is to allow lights slowly brighten (or out).