I’ve updated my firmware, reinstalled the latest version of the app, simplified the program as much as possible, tried two different wifi networks, changed Config Preference max data output, and all that everything has resulted in is wanting to turn green like the Hulk.
Blynk App connects to wifi and server just fine but then times out after 30 seconds and disconnects.
Please HELP!
#define BLYNK_PRINT Serial
#define BLYNK_DEBUG
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "auth code";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "maybe";
char pass[] = "youknow";
int brightness = 0;
BLYNK_WRITE(V10) // Runs when slider widget (on V10) is moved. Set limits 0-1023 for ESP
{
brightness = param.asInt(); // Get slider value.
analogWrite(5, brightness); // Send slider value to real LED on any PWM capable pin on your board
}
void setup()
{
// Debug console
Serial.begin(115200);
Blynk.begin(auth, ssid, pass);
// You can also specify server:
//Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 8442);
//Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8442);
}
void loop()
{
}