Hello! I’m writing code to program a sketch that allows arduino to turn on/off a LED through a web page sended with Arduino code in HTML. And I want to put a textbox that says the status of the LED
if (petition.indexOf("LED=0") > 0 ) {
client.println("<form>");
client.println("<id="form1" name="form1" method="post" action="">");
client.println("<label for="statusLED"></label>");
client.println("<input name="statusLED" type="text" id="statusLED" value="LEDOFF" readonly="readonly" />");*/
client.println("</form>");
turonOFFLED();
}
and in the error console appears:
sketch_sep01a.ino:61:37: error: expected ‘)’ before ‘form1’
sketch_sep01a.ino:62:44: error: expected ‘)’ before ‘satusLED’
sketch_sep01a.ino:63:45: error: expected ‘)’ before ‘sratusLED’
sketch_sep01a.ino:63:129: error: expected primary-expression before ‘/’ token
Thanks, sorry 4 my english.