I made a circuit with discreet componants that works, but I have far too many parts to make a compact system. I don't have enough knowledge on PICs, but they seem like the ticket. I'd be willing to pay for code and circuit that works for my simple needs.

The particulars are:

six LED arrays times two for a total of twelve (12) arrays.

Each array has five LEDs.

power is 12v.

first input causes five arrays of each group to light

Second input takes precedence over the first and causes one group of five arrays to sequence. first time period #1 on, second time period #1 and #2 on, etc. until all five arrays are alight then off for three time periods.

The sixth array is on for four time periods and off for four when the second input is activated.

Third input does the same thing only to the second group of LEDs.

I need the package to fit on a 1" x 4" PCB.

Any ideas, thoughts, or suggestions?