Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By Taaza
#82900 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