-->
Page 1 of 1

problem - run first program

PostPosted: Thu Aug 18, 2016 3:54 am
by mtronics
i start working with esp8266basic
flash esp8266. ok
connect to esp. ok
192.168.4.1/edit .ok
first program:

do
io(po,2,1)
delay 100
io(po,2,0)
delay 100
loop until 0

save and run program.ok

press reset pin to run program ! no action
program only work correct when i press run button in browser.

Re: problem - run first program

PostPosted: Thu Aug 18, 2016 5:18 pm
by Mmiscool
You have to go over to the settings page and check the "Run Default.bas at start up" check box on the settings page.

2016-08-18 18_17_17-172.16.0.104_settings.png

Re: problem - run first program

PostPosted: Fri Aug 19, 2016 2:32 am
by mtronics
tnx. for your answer.
when i turned on or press reset key on esp8266 , my program "blink" run after long delay time "about 20 sec."

Re: problem - run first program

PostPosted: Sat Aug 20, 2016 10:53 pm
by Mmiscool
This is the desired behavior. The problem with having the program run instantly is that you can not get back in and reprogram the device. This window of time makes it possible to edit your program before it runs.