Quote Originally Posted by paxmowa
Dude! You're so right.
Steve
Apart from when I am wrong!!!

PORT D
PNP collector to +5V feeding emitter to common Anode
Take the base to 0V via resistor to turn on an LED
Should read

PORT D
PNP *EMITTER* to +5V feeding *COLLECTOR* to common Anode
Take the base to 0V via resistor to turn on an LED


That'll teach me to reply in a hurry before dashing out to collect the kids from school
DOH !!!!