How to disable that and let D3 can read Dry contact perfectly?
I get High when reading Dry contact...
thanks and code as below
int pins = D3;
void setup() {
Serial.begin(115200);
pinMode(pins, INPUT);
}
void loop() {
Serial.print(digitalRead(pins));
delay(500);
}