projects:mh-et_live_esp32_devkit
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
projects:mh-et_live_esp32_devkit [2018/07/05 19:08] – cyrus | projects:mh-et_live_esp32_devkit [2018/07/06 16:42] (aktuell) – cyrus | ||
---|---|---|---|
Zeile 70: | Zeile 70: | ||
[(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 ===== | ||
+ | * http:// | ||
+ | * https:// | ||
+ | * https:// | ||
---- dataentry project ---- | ---- dataentry project ---- |
projects/mh-et_live_esp32_devkit.txt · Zuletzt geändert: 2018/07/06 16:42 von cyrus