hi all
need help with some html coding should be very simply for the elite people but its got me stunned
below is a bunch of web buttons from 0 - 100
now keep in mind that button 0-50 turns the servo clockwise in degrees
and buttons 60-100 turn it anticlockwise in degrees
webPage += "
WEB SERVO ONLINE
Blind Controller
";webPage += "<a href="0">0
";
webPage += "<a href="10">10
";
webPage += "<a href="20">20
";
webPage += "<a href="30">30
";
webPage += "<a href="40">40
";
webPage += "<a href="50">50
";
webPage += "<a href="60">60
";
webPage += "<a href="70">70
";
webPage += "<a href="80">80
";
webPage += "<a href="90">90
";
webPage += "<a href="100">100
";
i want to hide numbers from 0-50 or something inside a button so when i press the button over and over it scans / counts up from (0,10,20,30,40,50) over and over so it moves the servo all the time. and same for anticlockwise,
webPage += "
WEB SERVO ONLINE
Blind Controller
";webPage += "<a href="0,10,20,30,40,50">Forward
";
webPage += "<a href="60,70,80,90,100">Backwards
";
i know the above isnt correct but something like this.
servo_sketch20.ino (11.6 KB)