Skip to content

Instantly share code, notes, and snippets.

@loginov-rocks
Created December 10, 2018 22:26
Show Gist options
  • Save loginov-rocks/f282858d6b505ced501a0a57bb390374 to your computer and use it in GitHub Desktop.
Save loginov-rocks/f282858d6b505ced501a0a57bb390374 to your computer and use it in GitHub Desktop.
NodeMCU-Arduino-PlatformIO-Wi-Fi
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h>
void setup()
{
Serial.begin(9600);
WiFiManager wifiManager;
wifiManager.autoConnect("NodeMCU-Arduino-PlatformIO");
Serial.println("Connected!");
}
void loop()
{
Serial.println("Idle...");
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment