i'm going to try running the blink example and slowly add my code one line at a time..
i've wasted 15 hours on this.
Explore... Chat... Share...
Moderator: igrr
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
Most Arduinos have an on-board LED you can control. On the Uno and
Leonardo, it is attached to digital pin 13. If you're unsure what
pin the on-board LED is connected to on your Arduino model, check
the documentation at http://www.arduino.cc
This example code is in the public domain.
modified 8 May 2014
by Scott Fitzgerald
*/
//ok lets declare them
int ServoSignal = 4;
int RelaySignal = 5;
int LEDClosed = 12;
int LEDOpen = 13;
int ButtonOpen = 14;
int ButtonAC = 16;
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin 13 as an output.
pinMode(ServoSignal, OUTPUT);
pinMode(RelaySignal, OUTPUT);
pinMode(ButtonOpen, OUTPUT);
Serial.begin(115200);
Serial.println("i'm in the setup.");
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(ServoSignal, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(ServoSignal, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
Serial.println("blink");
}
ets Jan 8 2013,rst cause:4, boot mode:(1,6)
wdt reset
changing the board parameters in arduino before uploading (Currently ESPDUino (ESP-13 Module), 80 Mhz, 115200, 4M (3M SPIFFS))
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]