[CLOSED] Simple loop can't count more than 127
Posted: Wed Nov 11, 2015 2:14 pm
Hi,
I've flash this bin : nodemcu_float_0.9.6-dev_20150704.bin
and when I run this script :
Console displays :
Any idea ?
I've flash this bin : nodemcu_float_0.9.6-dev_20150704.bin
and when I run this script :
Code: Select all
for i = 1 , 99999999 do
print("I m waiting to sleep " .. i)
end
Console displays :
Code: Select all
I m waiting to sleep 125
I m waiting to sleep 126
I m waiting to sleep 127
I m waiting to sleeð†„FêŠâF
�•ŽF
¥”Œ¦ô
NodeMCU 0.9.6 build 20150704 powered by Lua 5.1.4
lua: cannot open init.lua
> =node.heap()
33928
Any idea ?