top of page

Our Recent Posts

Tags

Nenhum tag.

Código Fonte

1- print "<h1>Web Service</h1>" 2- print "<h3>Valor Maximo</h3>" 3- vlLuz = io(ai) 4- luzMaior = 0 5- textbox luzMaior 6- 7- print "<h3>SMTP</h3>" 8- textbox vlSmtp 9- 10- print "</br>" 11- 12- button "Salvar", [save] 13- button "Carregar", [load] 14- timer 5000, [att] 15- wait 16- 17- [att] 18- vlLuz = io(ai) 19- link = "api.thingspeak.com/update?api_key=YL8MGYNRUVP03I9O&field1=" & vlLuz 20- wget(link) 21- if vlLuz > luzMaior then 22- print "e-mail enviado" 23- setupemail "mail.smtp2go.com",2525,"pmenzel@furb.br","cnGghKGpshG9" 24- email vlSmtp,"pmenzel@furb.br","Luz","Muita Luz" 25- endif 26- wait 27- 28- [save] 29- write("campo1", luzMaior) 30- write("campo2", vlSmtp) 31- wait 32- 33- [load] 34- luzMaior = read("campo1") 35- vlSmtp = read("campo2") 36- wait


bottom of page