------------------------------------------------- -- Hello World ------------------------------------------------- local function init_func() local switch_value = 0 end local function run_func(event) lcd.lock() lcd.clear() lcd.drawText(10, 10, "Hello World", MIDSIZE) switch_value=getValue(99) if switch_value > 100 then return 1 -- Exit else return 0 end end return{ run=run_func, init=init_func }