SHARE
TWEET

Untitled

a guest Jun 20th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <ESP8266WiFi.h>
  2.  
  3. const char* ssid = "wifi";
  4. const char* password = "mypassword";
  5.  
  6. // Connect to WiFi network
  7. Serial.println();
  8. Serial.println();
  9. Serial.print("Connecting to ");
  10. Serial.println(ssid);
  11.  
  12. WiFi.begin(ssid, password);
  13.  
  14. while (WiFi.status() != WL_CONNECTED) {
  15. delay(500);
  16. Serial.print(".");
  17. }
  18. Serial.println("");
  19. Serial.println("WiFi connected");
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