Problems with my arduino mini shield
so i built an arduino mini shield for displaying numbers(i used the 4511 bcd to 7 segment decoder ic ) using only 4 pins excluding v+ and v-(power).It seemed to work well for while but later when i tried displaying 0001 ( 1 in binary) ,it suddenly stopped working or some all the segments got dimly lit . .Also if i plug it into the breadboard and connect some jumpers to the pins of the arduino(+5v and gnd) ,it seems to work fine,however when i plug it directly into the arduino,setting pin13 high and the gnd pin near it ,it does'nt work properly and all the segments glow dimly.The control pins for the digits are pin 12,11,10 and 9.also when i plug it into the breadboard and instead of connecting the pins with jumpers to +5v and gnd of the arduino,if i connect it to pin 13(HIGH) and the gnd near it it displays only 8,
also can't i use pin 13 being HIGH as 5v' s?
WHAT AM I SUPPOSED TO DO?