maybe not a bug, but I need help for autostart
Posted: Wed Aug 02, 2017 4:56 pm
Hello guys.
First of all, I don't know who is the GENIUS who created ESPBasic. But I would like to thank him very very much.
I was used to program picbasic but they are stil expensive.
Having the possibility to programm a 3€ wifi ESP in basic was just to good to be true when I discovered this.
I am learning how to use the espbasic essentially with GPIO.
I made a small program to detect the push on the GPIO and send an email.
it works perfect if I launch it (run or debug)
I tried to activate the run at launch default.bas with this program but it does not work.
if I restart the ESP the button does not work
I have to manually launch the program.
is there anything special to do?
my program is this one:
setupemail "smtp.orange.fr", "25", "XXX@orange.fr", "XXXXX"
interrupt 0, [CHANGE]
wait
[CHANGE]
if io(laststat,0) = 0 then
email "xx@xx.fr", "xx@xx.fr", "email test title", "test is working"
else
endif
wait
I thank you very much for any help you could bring to me on this topics.
and again.
Long life to ESPBasic.
First of all, I don't know who is the GENIUS who created ESPBasic. But I would like to thank him very very much.
I was used to program picbasic but they are stil expensive.
Having the possibility to programm a 3€ wifi ESP in basic was just to good to be true when I discovered this.
I am learning how to use the espbasic essentially with GPIO.
I made a small program to detect the push on the GPIO and send an email.
it works perfect if I launch it (run or debug)
I tried to activate the run at launch default.bas with this program but it does not work.
if I restart the ESP the button does not work
I have to manually launch the program.
is there anything special to do?
my program is this one:
setupemail "smtp.orange.fr", "25", "XXX@orange.fr", "XXXXX"
interrupt 0, [CHANGE]
wait
[CHANGE]
if io(laststat,0) = 0 then
email "xx@xx.fr", "xx@xx.fr", "email test title", "test is working"
else
endif
wait
I thank you very much for any help you could bring to me on this topics.
and again.
Long life to ESPBasic.