This thing drives me crazy!
Posted: Sat Jul 09, 2016 1:17 pm
I tried to send am Email if one of the GPIO´s are 1.... (used GPIO4 on the OLIMEX Board MOD_WIFI)
but this thing does not work
it would be very nice if anyone can take a look. What I´m doing wrong.
All the best
Andy
but this thing does not work
Code: Select all
cls
setupemail "my mtp", "myport", "myadress", "mypwd"
button "Exit", [Exit]
wait
Do
if io(pi,4) = 1 then serialprintln "IO4=1"
loop until 0
[SendMail]
email "email", "from", "Alarm Message from ESP,", "Alarmtext"
wait
[Exit]
end
it would be very nice if anyone can take a look. What I´m doing wrong.
All the best
Andy