Program:
[poo]
if t = 0 then
t = 1
else
t = 0
end if
goto [poo]
(Note: I have a few spaces in front of each of the two " t = .." statements that do not show up on this FORUM screen.)
After Saving it, if Run it, screen goes blank. System crashes. Must RESET the chip, wait, then go back to 192.168.4.1 in a new browser window to get back working system.
If use a SERIAL TERMINAL, notice that it says: Error at line 2: Comparison between string and number! It prints once.
If go to Debug and Run the program, now the debug screen goes blank and system crashes. Must RESET to get the system back up. Again, the serial terminal displays “Error at line 2: Comparison between string and number!” once.
If add a debugon statement before [poo] then Save and Run the program, a blank screen again shows up, the debugger does not display, and the serial terminal shows, “Error at line 2: Comparison between string and number!”