Reply To: Tag 5
› Forums › Advent Calender 2016 › Tag 5 › Reply To: Tag 5
Ja, das scheint eine Änderung in der neuen Library zu sein, mein Programm sieht jetzt so aus:
/*
Blynk 1: LED
Change ssid, password and token
*/
char ssid[] = “XXXX”;
char password[] = “XXXX”;
char token[] = “XXXX”;
#define BLYNK_DEBUG
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>
// Set NanoESP Serial object
#include <SoftwareSerial.h>
SoftwareSerial EspSerial(11, 12); // RX, TX
ESP8266 wifi(&EspSerial);
void setup()
{
// Set console baud rate
Serial.begin(19200);
delay(100);
EspSerial.begin(19200);
delay(100);
Blynk.begin(token, wifi, ssid, password);
}
void loop()
{
Blynk.run();
}