I bought several 74hc238 3x8 binary decoder chips to try to allow my raspberry pi gpio pins to potentially control many more relays. first step is to test my binary decoder chip so I put it on a bread board with the pi's 3v out connected to vcc and pi's gnd to gnd. Then i tie g2a and g2b both to ground. Then i hooked up 4 leds to the chip outputs 0-3. I put a 200ohm resistor between ground and leds. So i assume no output till i give the enable pin 3v, but the leds are flickering. They light more or less if i touch the chip or even the breadboard. I can tell that the led for 0 lihts brighter when i put 3v on the enable pin but it stays bright after i remove the 3v from enable. Is my chip screwed up or do i need a resistor on vcc or something? Thanks for the help.
Chip datasheet here. http://www.sparkfun.com/datasheets/Components/General/COM-09577-m74hc238.pdf
Chip datasheet here. http://www.sparkfun.com/datasheets/Components/General/COM-09577-m74hc238.pdf