how can I send html file from SD card to local web page
Posted:
Sun Apr 30, 2017 11:58 am
by overhuman
i have arduino uno and esp8266 module and SD module.
my esp is server and access point too,
and esp IP is 192.168.4.1
i want when i enter this IP to my browser this html file has shown to me...
Re: how can I send html file from SD card to local web page
Posted:
Mon Jul 17, 2017 3:52 pm
by Diablillowilly
Re: how can I send html file from SD card to local web page
Posted:
Tue Jun 11, 2019 2:47 am
by Hritam Basak
Diablillowilly wrote:If you are programmin it with the arduino ide, there is an example :https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WebServer/examples/SDWebServer/SDWebServer.ino
Hope it helps.
The code is giving compilation error
It shows default argument for parameter 2 which is not yet defined in line 211
Re: how can I send html file from SD card to local web page
Posted:
Sun Jun 16, 2019 2:32 am
by schufti
Don't use the example from the git-master as this may be adapted for recent changes in network interface.
Look in your arduino ide under "File/Examples/Examples for ...(your used esp module)" as this should be fully compatible with the esp core in your set-up.