Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Arduino demo source code for KC868-A4]-11 how to create wifi connection
#1
Code:
#include <WiFi.h>
void setup(){
  WiFi.begin("SSID", "PASSWORD");
  // SSID and password is the router you want to connect
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.begin(9600);
}

void loop(){
  Serial.println("Local IP:");
  Serial.println(WiFi.localIP());
  delay(1000);
}
       
Reply


Messages In This Thread
[Arduino demo source code for KC868-A4]-11 how to create wifi connection - by KinCony Support - 03-28-2022, 05:40 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)