Open montotile opened 1 year ago
nodemcu 5.1 math.modf() could be used.
init.lua:144: attempt to call field 'modf' (a nil value)
print("math.modf_test:",math.modf(12.23))
NodeMCU 3.0.0.0 built on nodemcu-build.com provided by frightanic.com branch: release commit: f25dc56d3c6213b8ac7ce46d1293466137746eae release: release DTS: 202112300746 SSL: false build type: float LFS: 0x0 bytes total capacity modules: file,gpio,http,mdns,mqtt,net,node,ow,pwm,tmr,uart,websocket,wifi,wifi_monitor build 2023-02-13 08:18 powered by Lua 5.1.4 on SDK 3.0.1-dev(fce080e)
ESP8266
Expected behavior
nodemcu 5.1 math.modf() could be used.
Actual behavior
init.lua:144: attempt to call field 'modf' (a nil value)
Test code
print("math.modf_test:",math.modf(12.23))
NodeMCU startup banner
NodeMCU 3.0.0.0 built on nodemcu-build.com provided by frightanic.com branch: release commit: f25dc56d3c6213b8ac7ce46d1293466137746eae release: release DTS: 202112300746 SSL: false build type: float LFS: 0x0 bytes total capacity modules: file,gpio,http,mdns,mqtt,net,node,ow,pwm,tmr,uart,websocket,wifi,wifi_monitor build 2023-02-13 08:18 powered by Lua 5.1.4 on SDK 3.0.1-dev(fce080e)
Hardware
ESP8266