Hi,
I have just purchased a ESP32 and am going through Bills video about the ESP32.
I can get a WiFiAccess point with the sketch he uses and turn a led on with my phone but the font is minute.
The relevant lines in the sketch are
client.print("Click <a href=\"/H\">here</a> to turn ON the LED.<br>");
client.print("Click <a href=\"/L\">here</a> to turn OFF the LED.<br>");
and I assume the line I need would be something like
client.print("<p style=Click to turn ON the LED.\">absolute size - xx-large</p><br>");
but I can't find the right format? can you help?
I can't see how to present this page with sections in code boxes either?
Bob.
Could you please link the Bill's ESP32 sketch.
I can't see how to present this page with sections in code boxes either?
I did it for you. Just highlight the code you want to format and press the Code button on the editor, the one that looks like "<>".
😎
Bill
"Never trust a computer you can’t throw out a window." — Steve Wozniak
Could you please link the Bill's ESP32 sketch.
Even better, why not discuss this in the forum post dedicated to this video & article?
The link to the relevant article with code is in the post.
@bob207 - You're on the right track to changing the font, but the syntax you are using is incorrect. Check out W3 Schools for assistance with this.
😎
Bill
"Never trust a computer you can’t throw out a window." — Steve Wozniak
If I highlight part of this sentence, say, just
the word
lines
and click on <> above, preview shows it puts the whole sentence in a code box and
puts the letters
PRE at the bottom left corner of the box,
if I highlight the word and click on the <> again it all clears from the blue box
and the letters in the bottom left change to P
If I highlight any part again and click on <> above anything
I now type shows in the 'code' box and PRE reappears. I also notice the lines are
not word wrapping.
I think there is a problem with the way my reply box is formatting?
I think I have found the problem. If I go to source code and type after the pre it works fine. The source code is not "building correctly"?
I have moved the post to here.
https://forum.dronebotworkshop.com/2020/using-servo-motors-with-esp32/#post-15442