-->
Page 1 of 1

Running program at power up

PostPosted: Sat Apr 02, 2016 6:39 pm
by DRH
I am new at this, so if this question is elementary.....sorry.

There must be a way to have a program run at power up all by itself.

I have written a simple program to respond to web commands. Works perfectly, but if I power down the ESP and reapply power, I need to go back into the editor to run the code.

I must be missing something.....

Thanks for any input in advance

Re: Running program at power up

PostPosted: Sun Apr 03, 2016 7:20 am
by Mmiscool
When ESP Basic boots it waits for 30 seconds before running the default program.

This is to give you time to clear a bad program if there is a problem with out having to format the device.

Re: Running program at power up

PostPosted: Sun Apr 03, 2016 4:22 pm
by cwilt
Is your program named "default"?

Re: Running program at power up

PostPosted: Mon Apr 04, 2016 7:00 am
by cicciocb
The default program is /default.bas