kittenblock中小学创客名师推荐的图形化编程软件
/* Comment this out to disable prints and save space */
#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[] = "xx";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "xx";
char pass[] = "xx";
char local_domain[] = "192.168.0.111";
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass, local_domain,8080);
}
void loop()
{
Blynk.run();
}