-->
Page 1 of 2

No run in ESP Basic 2.0.Alpha 1 Run in ESP Basic 1.88

PostPosted: Fri Mar 25, 2016 3:51 pm
by mariolatronico
buonasera a tutti,
Questo codice gira bene con firmware ESP Basic 1.88 ma non gira con firmware ESP Basic 2.0.Alpha 1
Non riesco a capire se รจ un problema software o hardware


Good evening everyone,
This code runs fine with firmware ESP Basic 1.88 but does not run with ESP Basic 2.0.Alpha 1
I do not understand whether it is software or hardware problem.


Code: Select allcls
wprint "<body bgcolor="yellow">"
wprint "<h1><I><font color="blue">Benvenuti nel sito di telecontrollo"
wprint " "
button " -exit- " [-exit-]
wprint "</h1></I></font color="blue">"
Print
wait


best regards

Re: No run in ESP Basic 2.0.Alpha 1 Run in ESP Basic 1.88

PostPosted: Sun Mar 27, 2016 4:10 am
by drhaitch
Im running ESP Basic 2.0.Alpha 2 and it looks fine, says its saving a file on the web browser but the serial interface is saying that file open failed.
So you may be getting this. try a simple program see if that works while you have a terminal window open to view the espbasic serial commands it spits out.

I have tried this on 2 different ESPs and get the same error on both, and with v 2.0 Alpha 3 as well.

This is the stuff I get in the terminal window.

ESP Basic 2.0.Alpha 3
1
2
3
4
5
6
7
8
9
10
11
12

Failed Wifi Connect
Creating WIFI access point
ESP
APname
file open failed
APpass
file open failed
file open failed
Starting Default Program
Done...




Not sure what is broken. I cant get it to compile on arduino on windows either for some reason.
H

Re: No run in ESP Basic 2.0.Alpha 1 Run in ESP Basic 1.88

PostPosted: Mon Mar 28, 2016 12:23 am
by drhaitch
on 2.0 alpha 4 this seems to work, just added in + where required.

Code: Select allcls
wprint "<body bgcolor="+yellow+">"
wprint "<h1><I><font color="+blue+">Benvenuti nel sito di telecontrollo"
wprint " "
button " -exit- " [-exit-]
wprint "</h1></I></font color="+blue+">"
Print
wait

Re: No run in ESP Basic 2.0.Alpha 1 Run in ESP Basic 1.88

PostPosted: Mon Mar 28, 2016 12:56 pm
by viscomjim
Forgive my ignorance, but what does the added "+" do that it fixes the problem?

Thanks!!