Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

added an example to switch LED using ESP8266WebServer

Open nsisong opened this issue 3 years ago • 1 comments

nsisong avatar May 31 '22 14:05 nsisong

We do have a lot of LED switching already though, check out PostServer & AdvancedWebServer

Also... instead of String, please use PROGMEM'ed strings (static const char x[] PROGMEM = "...";) by using ..._P() methods! Current behaviour with string literals is that they are placed into RAM, and every contents will also be duplicated into String buffer. That would be the only improvement I could think of :)

mcspr avatar May 31 '22 17:05 mcspr