Possible BUG , not sure where / why , need help finding
Posted: Thu Jan 21, 2016 10:26 pm
There seems to be an issue with some part of this code...
The first thing I notice when I run it on an "nodemcu" module with espbasic 1.77 is that the Exit button does not seem to work. Normally I monitor the module/code by opening a Putty serial terminal window.
Usually when I click on Exit in a program the module will print "done" in the serial window and the code will have stopped running.
With this code the Exit button does not seem to work.
I noticed the same thing with the code from the FM Radio forum post. Here...
http://www.esp8266.com/viewtopic.php?f=41&t=7648
Can others confirm if the exit button works for them?
Could it be related to the "slider" as both code examples have one or more sliders.
Note: it is easy/possible to test code even if you don't have the associated hardware circuitry as long as the code is not expecting input from said hardware.
stumped
dwight
Code: Select all
button "Exit" [Exit]
wprint "<br>"
button "Set All" [setcolor]
button "All Off" [alloff]
button "Set One" [setone]
wprint "<br>"
listbox "0,1,2,3,4,5,6,7" pix
wprint "<br>"
slider rd 0 255
slider gn 0 255
slider bu 0 255
wprint "<br>"
wait
[setcolor]
serialprintln ramfree()
serialprintln flashfree()
serialprintln ip()
serialprint rd
serialprint gn
serialprintln bu
serialprintln " "
neostripcolor(0,7,rd,gn,bu)
wait
'
[alloff]
neocls()
wait
'
[setone]
neo(pix,rd,gn,bu)
wait
'
[exit]
end
The first thing I notice when I run it on an "nodemcu" module with espbasic 1.77 is that the Exit button does not seem to work. Normally I monitor the module/code by opening a Putty serial terminal window.
Usually when I click on Exit in a program the module will print "done" in the serial window and the code will have stopped running.
With this code the Exit button does not seem to work.
I noticed the same thing with the code from the FM Radio forum post. Here...
http://www.esp8266.com/viewtopic.php?f=41&t=7648
Can others confirm if the exit button works for them?
Could it be related to the "slider" as both code examples have one or more sliders.
Note: it is easy/possible to test code even if you don't have the associated hardware circuitry as long as the code is not expecting input from said hardware.
stumped
dwight