Sketching
I had a rough idea how the LED'S would be joined together in 4 rows of each colour with a 470R resistor joined onto one of each LED 's leg, the anode leg (longest leg) and the cathode leg joining to each LED.I do need to start building up a working circuit and get my head around how everything will connect together.
Connecting Led's
Boosting power in the circuit
As i am driving 40 LED's I will need to use transistors to boost the power to light them all successfully. I created a new circuit for the transistors to hook up to to my LED'S and pic chip.
Connecting transistors to LED'S
Full circuit Diagram
With my original circuit i did not realise i had my transistors connected incorrectly meaning there was no power going to the LED'S
Circuit wizard
Connecting up the LED'S
switch & Potential divider