Bonjour j'utilise un ESP8266 ESP-01S et j'aimerai le connecter avec l'application blynk
voici le code utiliser
pour un simple boutton on off
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "rC3ZbhT8yttysobJ0Fnb-uYLf5eGNgJO";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = """""""";
char pass[] = """""""""""";
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
// You can also specify server:
//Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80);
//Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);
}
void loop()
{
Blynk.run();
// You can inject your own code or combine it with other sketches.
// Check other examples on how to communicate with Blynk. Remember
// to avoid delay() function!
}
merci d'avance