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]
if io(laststat,0) = 0 then
email "email@example.com", "firstname.lastname@example.org", "email test title", "test is working"
I thank you very much for any help you could bring to me on this topics.
Long life to ESPBasic.