Report Bugs Here

Moderator: Mmiscool

User avatar
By heckler
#40422 I was seeing some problems between 1.60 working OK and 1.68 NOT working well.

I'll try and do some more testing tonight.

Suggestion... would it be possible to include the version number in the ESPBasic OS download??
As it is right now I have to install the OS and watch it boot up to determine what version it is.

Is there a repository of older versions somewhere to go back through and test??

thanks
dwight
User avatar
By heckler
#40461 My testing shows the "OPEN" problem does NOT exist on ver 1.65
and DOES exist on ver 1.67

I do not have a ver 1.66 to test so I don't know if it has the "OPEN" code problem or not.
I did test ver's 160, 161, 162, 163, 164, and 165 and they all allow you to OPEN the default code
When l install ver 167 then try and OPEN the same code that is in the default file it fails and will not paint the IDE with the code.

During all that testing I did not reload the default code. It stayed in the module through all the testing.
If I downgrade to 165 the OPEN works every time

thanks MIKE (and others) for all your efforts!
dwight
User avatar
By Mmiscool
#40492 The compleat version history is available is available on the git hub repository.
User avatar
By heckler
#40495 Thanks Mike!

I went and downloaded ver 166 dated Dec 18 2015
It DOES HAVE THE "OPEN" PROBLEM.

So it appears that the "open" code problem started with this ver 166
the comment shows that it is when you added initial neo pixel support.

I am testing with an esp-01 512K module
I am using CHROME browser
I am using the following "graphic clock" code...
Code: Select allonload [drawClock]
wprint "<meta http-equiv='refresh' content='5;URL=/input?'>"
print "Graphic Clock"
print
graphics 500 500
[drawClock]
gosub [dotime]
gcls
gosub [drawface]
gosub [drawhour]
gosub [drawminute]
wait

[drawhour]
x = myhour * 30
x = x / 57.29577951
xx = sin(x)
xx = xx * 150
xx = 250 + xx
yy = cos(x)
yy = yy * 150
yy = 250 - yy
line 250 250 xx yy
return

[drawminute]
x = mymin * 6
x = x / 57.29577951
xx = sin(x)
xx = xx * 200
xx = 250 + xx
yy = cos(x)
yy = yy * 200
yy = 250 - yy
line 250 250 xx yy 12
return

[drawface]
circle 250 250 210 3
circle 250 250 205 15
for t = 1 to 12
x = t * 30
x = x / 57.29577951
xx = sin(x)
xx = xx * 205
xx = 250 + xx
yy = cos(x)
yy = yy * 205
yy = 250 - yy
circle xx yy 4 3
next t
return

[dotime]
mytime = time()
myhour = mid(mytime,12,2)
mymin = mid(mytime,15,2)
mysec = mid(mytime,18,2)
partmin = mysec / 60
mymin = mymin + partmin
parthour = mymin / 60
myhour = myhour + parthour
return


The above code does not require any external hardware to the module.
It does need access to the internet to "get time"

at ver 165 the code seems to "OPEN" just fine
at ver 166 when I try and "open" the code, the chrome browser window will report "NO DATA RECEIVED" within just a few seconds.

I seem to be able to restart the module and open the code before the 30 window expires. After the default code runs then the open command seems to fail pretty much every time.

I will test with other programs
thanks
dwight