SHARE
TWEET

Untitled

a guest Apr 20th, 2019 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void connectWiFi()
  2. {
  3.   Serial.println("Connecting to WIFI");
  4.   WiFi.begin(ssid, password);
  5.   while ((!(WiFi.status() == WL_CONNECTED)))
  6.   {
  7.     delay(300);
  8.     Serial.print("..");
  9.   }
  10.   Serial.println("");
  11.   Serial.println("WiFi connected");
  12.   Serial.println("NodeMCU Local IP is : ");
  13.   Serial.print((WiFi.localIP()));
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top