well..only pnp's should be used here...because when we give a 0(low) to base of pnp then only it goes into saturation...and the segment's common receives 5 volts...
also to light the seg, the corresponding pin on uc(pin no. 39 to 32) should also be low..
isn't it???