This is an old revision of the document!
Project owner: | lichnak, PeterBay |
Interested: | |
Related: | |
Reference: | https://Espressif.com |
License: | Uveďte původ-Zachovejte licenci; CC BY-SA |
NodeMCU HTTP Server
#Copy file httpd.c to folder ~/nodemcu-firmware/nodemcu-firmware-2.0.0-master_20170202/app/modules/ #Edit file “~/nodemcu-firmware/nodemcu-firmware-2.0.0-master_20170202/app/include/user_modules.h” and add one line to user modules.
#define LUA_USE_MODULES_HTTPD
#Compile firmware as was descibed [[:project:nodemcu_lbe:en|here.]] * Upload firmware to ESP8266 as was descibed for Windows 10 [[:project:nodemcu_windev:en|here]] and for Ubuntu [[:project:nodemcu_ubudev:en|here]] * Connect nodeMCU to USB * Open ESPlorer * Upload httpd files to ESP8266 * Configure ext_wifi_settings.lua for WiFi connection strings * Execute on ESP8266 Lua script assemble.lua * Open http://nodeMCU-IP-Address in Web browser