- Sun May 07, 2017 10:52 pm
#65686
ok, still no joy, i've changed out the module, moved from breadboard to strip board, removed all other wires apart from those needed to boot and flash.
still get WDT resets.
This is my code now (it fails)
Code: Select all//ok lets declare them
int ServoSignal = 4;
int RelaySignal = 5;
int LEDClosed = 12;
int LEDOpen = 13;
int ButtonOpen = 14;
int ButtonAC = 16;
void setup() {
// put your setup code here, to run once:
//ok lets declare them
Serial.begin(115200);
// pinMode(ServoSignal, OUTPUT);
pinMode(RelaySignal, OUTPUT);
pinMode(LEDClosed, OUTPUT);
pinMode(LEDOpen, OUTPUT);
// delay(2000);
// Serial.println("i'm in the setup.");
Serial.println("i did three pinmodes");
pinMode(ButtonOpen, OUTPUT);
pinMode(ButtonAC, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("i'm running.");
}
can anyone try this code on their esp module (preferably a 12) and see what happens?
i even un-soldered the 3.3 reg from the strip board and bpt the lab power supply to 3.3 directly, no change.
If i comment out any one line in setup it works.