Skip to content

ttgo twatch 2020, simple web server with basic routes to control watch display backlight on /off, and type some text from a browser on the same LAN

Notifications You must be signed in to change notification settings

paulmartinetti/ttgo-server-ajax-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ttgo twatch 2020, simple web server with basic routes to control watch display backlight on /off, and type some text from a browser on the same LAN

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published