Guest User

Untitled

a guest
Jul 17th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include <Arduino.h>
  2. #include <ESP8266WiFi.h>
  3. #include <ESP8266WiFiMulti.h>
  4. #include <ESP8266HTTPClient.h>
  5.  
  6. #define USE_SERIAL Serial
  7.  
  8. ESP8266WiFiMulti WiFiMulti;
  9.  
  10. void setup() {
  11.  
  12. USE_SERIAL.begin(115200);
  13.  
  14. WiFi.mode(WIFI_STA);
  15. WiFiMulti.addAP("SSID", "Password");
  16.  
  17. }
  18.  
  19. void loop() {
  20. // Some more code
  21. }
Add Comment
Please, Sign In to add comment