andretafta

Test LED_Local Server

Feb 22nd, 2021 (edited)
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #define BLYNK_PRINT Serial
  2.  
  3. #include <ESP8266WiFi.h>;
  4. #include <BlynkSimpleEsp8266.h>;
  5.  
  6. char auth[] = ""; //token blynk di dashboard blynk local server
  7.  
  8. char ssid[] = ""; //nama wifi
  9. char pass[] = ""; //password wifi
  10.  
  11. void setup(){
  12.   Serial.begin(9600);
  13.   Blynk.begin(auth, ssid, pass, IPAddress(x,x,x,x), 5555); // x adalah ip blynk local server, pemisahan digunakan dengan tanda koma
  14. }
  15.  
  16. void loop(){
  17.   Blynk.run();
  18. }
Add Comment
Please, Sign In to add comment