Bonjour, j'ai une question relativement simple. Jai un bouton qui active la pin 4 exemple, et jaimerais aussi que quand j'active la pin 4 une page web s'ouvre. J'ai essayé avec mes maigres connaissance, 2 trucs et rien ne fonctionne. Quelqu'un a une idée?
ça:
if(on_off1){
plen=es.ES_fill_tcp_data_p(buf,plen,PSTR("<input type=hidden name=cmd value=3>"));
plen=es.ES_fill_tcp_data_p(buf,plen,PSTR("<input type=submit value=\"Moteur #1 ON \"></form>"));
plen=es.ES_fill_tcp_data_p(buf,plen,PSTR("<a href=\"http://192.168.1.1\"><a>"));
et ça:
if(on_off1){
plen=es.ES_fill_tcp_data_p(buf,plen,PSTR("<input type=hidden name=cmd value=3>"));
plen=es.ES_fill_tcp_data_p(buf,plen,PSTR("<input type=submit value=\"Moteur #1 ON \"></form>"));
}
if(on_off1){
plen=es.ES_fill_tcp_data_p(buf,plen,PSTR("<input type=hidden name=cmd value=3>"))
plen=es.ES_fill_tcp_data_p(buf,plen,PSTR("<a href=\"http://192.168.1.1\"><a>"));