Hi, I’m using esp8266 for my project.
I’m using digital pins. Im having a trouble with my relays.
I’m using timers also with the blynk server.
The problem is, when reboots the esp8266 turns on the relay which is connected to the timers.
I don’t know what’s the reason . please help me with this project. #define BLYNK_PRINT Serial #include <SPI.h> #include <ESP8266WiFi.h> #include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth = “*”;
// Your WiFi credentials.
// Set password to “” for open networks.
char ssid = “";
char pass = "”;
@Mahesh015 you don’t appear to be very good at reading things.
You didn’t read (or at least if you did read then you didn’t follow) the information that was automatically placed in your first post before deleting it. It contained information about how to post code in the forum so that it displays correctly.
Please go back to your first post in this topic, edit the post (using the pencil symbol at the bottom of the post, and add-in the necessary backtick symbols - like this:
My advice would be to stop using digital pins and use virtual pins instead, and to be very careful about which GPIO pins you choose. Also, Blynk.syncAll() is generally regarded as being problematic, especially with digital pins. You’re best doing syncs on individual named virtual pis when you change your code to work that way.