Is it possible to program in ZBasic on an ESP8266, a very simple webserver with a simple web page with some variables in this page. With a browser, I could connect to this page and adjust the variables. These variables would be parameters for my program.
If yes, how to proceed?
Thank you !
Simple webserver with ZBasic and ESP8266
Re: Simple webserver with ZBasic and ESP8266
Yes. In the ZBasic installation directory you'll find a directory named Examples-ESP8266. In that directory, you'll find two HTTP server examples with different capabilities which are described in the commentary at the top of the program.memi205 wrote:Is it possible to program in ZBasic on an ESP8266, a very simple webserver with a simple web page with some variables in this page.
You may need to add code to expand the functionality to meet your needs but you should be able to figure out what changes to make and where to make them.
Also, be advised that if you're using Windows 7 or later you'll need to copy the example project files to a different directory (one outside of the Program Files tree) and compile the project in its new location.
- Don Kinzer