In the open position of the toggle switch, pressing the reset button logs the current date, time, and temperature in a file, displays it on the OLED screen, and then turns off the module. The example demonstrates the use of the SLEEP command, preboot.txt, and boot.txt files. Uploading setup.dat configures the peripherals according to the attached circuit diagram. In the open position of the switch, a phone can connect to the device in captive portal mode to download the file generated by the button presses. After deletion, it will be recreated with a filename corresponding to the current date. The module’s SSID and IP address are displayed on the screen.


A kulcsos kapcsoló nyitott állásában a reset gomb megnyomásával fájlban rögzíti az aktuális dátumot, időt, hőfokot, OLED kijelzőre írja, utána kikapcsolja a modult. A SLEEP parancsot, preboot.txt, boot.txt fájl használatát mutatja be a példa. A setup.dat feltöltése a mellékelt kapcsolási rajznak megfelelően konfigurálja a perifériákat. A kapcsoló nyitott állásában egy telefonnal lehet csatlakozni az eszközhöz captive portal módban, letölteni a gombnyomások által generált fájlt. Törlés után újra létrehozásra kerül az aktuális dátumnak megfelelő fájlnévvel. A kijelzőn a modul SSID-je, IP címe látható.
