1000 ms warten und prüfen
tmr.alarm(1, 1000, 1, function()
-- prüfe ob die Verbindung schon geklappt hat
... .create()
ntptimer:register(1000, tmr.ALARM_AUTO, function()
-- prüfe ob die Verbindung schon geklappt hat
... y = wifi.sta.getip()
sntp.sync(gateway,
function(sec, usec, server, info)
print('sync', se... ver)
rtctime.set(sec, 0)
end,
function()
print('Time Sync was not sucessfull')
-------------------
-- Was soll aufgerufen werden
function intPin1(level, internalCountMs)
pulszaehler... .create()
sectimer:register(1000, tmr.ALARM_AUTO, function()
if min_time == 59 then
min_time=0
pr