init.lua 214 B

1234567891011121314
  1. DEBUG = true
  2. function debug_message(message)
  3. if DEBUG then
  4. print(message)
  5. end
  6. end
  7. print("Waiting one second on timer 0")
  8. tmr.alarm(0, 1000, tmr.ALARM_SINGLE,
  9. function()
  10. dofile("main.lua")
  11. end)