- Thu Apr 28, 2016 3:48 am
#46379
martinayotte wrote:Yes, the specs is saying 50uA as "IIL Input Leakage Current".
So, probably you have a problem elsewhere, or your hardware is damage.
Thanks for reply. I am using esp 12 E , with and without a breakout board running nodemcu.
I have wrote a very simple code to which shows the problem.
Code: Select allgpio.mode(6, gpio.OUTPUT)
gpio.mode(9, gpio.INPUT)
gpio.write(9, gpio.LOW)
tmr.alarm(1, 100, 1, function()
if (gpio.read(9)==1) then
gpio.write(6,gpio.HIGH)
else
gpio.write(6,gpio.LOW)
end
end
)
The gpio 6 goes high when I give vcc to gpio 6...even if i use 100 ohm resistor to input, the gpio 6 wont go high.
Kindly help
Thank You