/* Main ESP32 Signal Generator web page (wiki:HEREDOC) https://corz.org/public/scripts/ESP32/SignalGenerator/ NOTE: You can use "number" types for the numeric inputs, which may be more convenient when using a phone/tablet to configure your generator, but you would loose the cool text-in-input titles, as well as the ability to enter "2k" for frequency/step (you could maybe leave those as "text" for this reason). It's just HTML (and ECMAScript, aka 'JavaScript'). Do as you will. "Everything" is AJAX. If you aren't familiar with AJAX, there is a decent explanation inside the main sketch. NOTE: We are using simple /url or /url?GET=parameters to set values, so you could conceivably use cURL/wget/whatever to set values; i.e. a shell script, or something calling one.** ** There is now a direct URL command interface, e.g. /p50. See the main sketch for details. MCU purists may prefer const char *WebPage = ... But you would lose that lovely String.replace(). ESP32 has gobs of RAM, and robust heap management - enjoy the good life! It's good to get into the habit of NOT putting a newline after the opening HEREDOC statement. Formats like SVG will fail dramatically if you do this. NOTE: The UP/DOWN control here is for frequency, but it would be a doddle to switch it to something else, e.g. Pulse Width. All the handler code is already written; you simply need to switch out the links on this page; inside setUP() and setDOWN(), below. */ String WebPage = R"HTML5( ESP32 Signal Generator

Frequency:

Wave:

1
2
3
4
5
6
7
8
9
reboot button link to simple 2-button interface console link
from corz.org
)HTML5";