diff --git a/README.md b/README.md index 6cb4c02..3773c25 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ it has the following features:
-Can read the image as RGB data (i.e. 3 bytes per pixel for red, green and blue value)
-Act as web client (reading the web page in to a string) - see requestWebPage() -
The root web page uses AJAX to update info. on the page. This is done in the easiest to understand/follow way I can, it seems a bit complicated - at first but basically you just create html with a named SPAN where you want the info to go, the javascript then periodically sends a request to http://x.x.x.x/data which returns the information seperated by commas which the JavaScript splits in to an array and then sends to the relevant -SPAN on the web page. +
The root web page uses AJAX to update info. on the page. This is not done in the conventional way where variable data is passed but +instead passes complete lines of text, it may not be elegant but it makes changing what information is displayed much easier as all you +have to do is modify what info handleData() sends.
BTW - I have created a timelapse sketch based on this one which may be of interest: https://github.com/alanesq/esp32cam-Timelapse