I connected a led with resistor this way. if output is set to high level, the output pin is set to gnd and difference is ~vcc. but if output is on low level, the voltage between vcc and output pin is still around 2v an the led shines a bit. why is this?
and can anybody tell what maximum input voltage is ok if pin is set to input?