I wrote an ESP8266 application some while ago which served up a web page that comprises some html,css and javascript in separate files. These files were included into the ino file and compiled into the application with the PROGMEM and the R{} directives. The files are in the main ino diectory and were included in the following way:-
#include "defines.h"
#include "Winch.h"
#include "index.html"
#include "style.css"
#include "script.js"
This worked perfectly.
Now tho' i get a file not found error unless I include the full path name of these non.h files.
ie:
#include "defines.h"
#include "Winch.h"
#include "C:\Users\paul\Sysdev\Auto Anchor\AnchorControl\index.html"
#include "C:\Users\paul\Sysdev\Auto Anchor\AnchorControl\style.css"
#include "C:\Users\paul\Sysdev\Auto Anchor\AnchorControl\script.js"
Any suggestions?
Cheers