projects:mh-et_live_esp32_devkit
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende Überarbeitung | |||
projects:mh-et_live_esp32_devkit [2018/07/05 20:45] – cyrus | projects:mh-et_live_esp32_devkit [2018/07/06 16:42] (aktuell) – cyrus | ||
---|---|---|---|
Zeile 69: | Zeile 69: | ||
print(i) | print(i) | ||
[(2, 1, 0, ' | [(2, 1, 0, ' | ||
+ | |||
+ | ==== C WLAN Hints ==== | ||
+ | === Configuring an AP === | ||
+ | Das folgende Code Schnipsel erzeugt einen Access Point mit DHCP (192.168.4.0/ | ||
+ | <code c># | ||
+ | |||
+ | const char *ssid = " | ||
+ | const char *password = " | ||
+ | |||
+ | void setup() { | ||
+ | Serial.begin(115200); | ||
+ | Serial.println(); | ||
+ | Serial.print(" | ||
+ | /* You can remove the password parameter if you want the AP to be open. */ | ||
+ | WiFi.softAP(ssid, | ||
+ | |||
+ | IPAddress myIP = WiFi.softAPIP(); | ||
+ | Serial.print(" | ||
+ | Serial.println(myIP); | ||
+ | } | ||
+ | |||
+ | void loop() { | ||
+ | }</ | ||
===== Resources ===== | ===== Resources ===== |
projects/mh-et_live_esp32_devkit.txt · Zuletzt geändert: 2018/07/06 16:42 von cyrus