function startup()
if abort == true then
print('startup aborted')
return
end
print('in startup')
node.dsleep(60000)
end
abort = false
tmr.alarm(0,5000,tmr.ALARM_SINGLE,startup)
Timer works as expected and waits 5second before startup.
But after starting it results in an unreadable error message and rebooting again and again.
I'm using the development firmware build by frightanic.com
branch: master
commit: c8037568571edb5c568c2f8231e4f8ce0683b883
SSL: true
modules: bmp085,dht,enduser_setup,file,gpio,i2c,mqtt,net,node,ow,tmr,uart,wifi
build built on: 2016-02-14 13:27
powered by Lua 5.1.4 on SDK 1.4.0
Any ideas?
Man y thanks,
Marc