It will resume previous message on startup now. There is a little stutter in the LED when submitting the webform, so fix that somehow.
This only works after you submit the webform again. More work needed so it works on start. So close!
It has to do with how I was selecting the message to send. Things being overwritten in loop(). Works now with default message.
Had it working, and then tried to add a message selector and placeholder for WPM setting. Now some of the files fail to write.
Got that to work.
Probably need a setting for "off," huh?
I think it is working again. Last night I decided that I should be using global variables rather than reading from files every iteration of loop()
.
Was getting error: can't read source directory *** [.pio/build/esp32doit-devkit-v1/spiffs.bin] Error 1
but when I manually create the data
folder, then "Build Filesystem Image" and "Upload…
Well, I was having issues with the LED not following webform entry again, so I pushed "Erase Flash" and now having problems with SPIFFS. Time to hang it up for tonight.
This is going OK, although I'm having a hard time getting the "send continuously" option to work with a checkbox or radio button instead of a text entry.
This issue has gotten a bit muddled, but I will note that as of 39779713415f553833cc20805401087171900b2a, I can control whether a gpio/LED is sending a Morse message or not from the web UI.
JLED looks like a winner! I can start and stop sending midstream from the webui.
Found a bunch I couldn't make work.
Telegraph works, but uses delay().