So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By johnnyfrx
#66876 Alright...I am going to try it again as you've shown me here. Will keep you posted. Thank you very much for your guidance and input...not just on this issue but on the many others I have seen you post to, which have helped me along my ESP8266 Journey many times!
User avatar
By johnnyfrx
#66936 I tested this SIMPLE code on the ESP12 and it never lit up even after a 2 hour delay.
I changed out power sources, etc... no help.
I also tested it on one of my trusty Arduino UNO's and all worked fine for 2 hour delay, and 8 hour delay.
Any ideas?

Code: Select allvoid setup() {

  pinMode(3, OUTPUT);

}


void loop() {
  digitalWrite(3, HIGH);   
  delay(3000);                     
  digitalWrite(3, LOW);   
  delay(3000);
  digitalWrite(3, HIGH);   
  delay(3000);
  digitalWrite(3, LOW);   
  delay(7200000);      //2 Hour Delay
  //delay(28800000);    //8 Hour Delay
  digitalWrite(3, HIGH);   
  delay(1000);                       
  digitalWrite(3, LOW);   
  delay(1000);
  digitalWrite(3, HIGH);   
  delay(1000);
  digitalWrite(3, LOW);   
  delay(1000);
  digitalWrite(3, HIGH);   
  delay(1000);
    digitalWrite(3, LOW);   
  delay(1000);
 
}