ESP32 minimales WLAN-Access-Point-Beispiel (PlatformIO / Arduino)
English
Deutsch
Dieses minimale Beispiel zeigt, wie ein WLAN-Access-Point auf dem ESP32 mit dem Arduino-Framework unter PlatformIO erstellt wird.
main.cpp
#include <Arduino.h>
#include <WiFi.h>
void setup() {
WiFi.softAP("MyWifiName", "MyWifiPassword");
}
void loop() {
// put your main code here, to run repeatedly:
}Wie zu sehen ist, ist es wirklich einfach. Einfach aufrufen
examples_call.cpp
WiFi.softAP("MyWifiName", "MyWifiPassword");und die WiFi-Bibliothek kümmert sich um den Rest.
Check out similar posts by category:
Electronics, ESP8266/ESP32, PlatformIO
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow