-->
Page 1 of 1

Hardware floating pin Issue in esp8266

PostPosted: Fri Jun 21, 2019 1:57 am
by Taaza
I have to program hardware Circuit which have two bed switch that switches relays when the switch is open and close.and the Input switch pin is active low it read perfect 3.3v when the switch is open and read 2.2v when the switch is close instead of 0 so due to the pin is floating digitalRead comand gives 0 then 1 then 0 and unable to use any Interrupt command due to this issue.Can anyone suggest me how to resolve this issue through programming? I am new in this forum