NodeMCU wdt reset
Posted: Sat Nov 02, 2019 2:27 pm
Hello,
I try to read if a radar switch sensor is high or low.
This is the code:
int mwsensor = 7;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(mwsensor, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalRead(mwsensor);
Serial.println("hoi");
delay(1000);
}
I upload the code to the NodeMCU and this is returned in the serial monitor:
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v8b899c12
~ld
I have no idea what's wrong. Normally I can upload code without any problem.
Can you please give me an advise.
Thank you.
Yvonne
I try to read if a radar switch sensor is high or low.
This is the code:
int mwsensor = 7;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(mwsensor, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalRead(mwsensor);
Serial.println("hoi");
delay(1000);
}
I upload the code to the NodeMCU and this is returned in the serial monitor:
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v8b899c12
~ld
I have no idea what's wrong. Normally I can upload code without any problem.
Can you please give me an advise.
Thank you.
Yvonne