Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 956 Bytes

README.md

File metadata and controls

9 lines (9 loc) · 956 Bytes

ttgo node mcu ajax simple

ttgo serves a simple Web page gui to any device connected to WiFi. Turn backlight on / off and display message on the watch that is typed into the gui when backlight is on

To tweak the HTML, it's easier to edit the HTML in VSC then paste it each time into the Arduino IDE variable on the index.h page.

The server or wifi connection fails pretty often. I have to close the IDEs, reboot the watch often..but otherwise it works. I started with the Hello Server example, but discovered that some libaries and code were not needed to do these simple tasks.

Sketch uses 865733 bytes (13%) of program storage space. Maximum is 6553600 bytes. Global variables use 40088 bytes (0%) of dynamic memory, leaving 4481896 bytes for local variables. Maximum is 4521984 bytes



Great article on strings

https://cpp4arduino.com/2020/02/07/how-to-format-strings-without-the-string-class.html