You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
300 B
9 lines
300 B
5 years ago
|
-- This script is an example of saying hello. A lot.
|
||
|
|
||
|
function update() -- this is the loop which periodically runs
|
||
|
gcs:send_text(0, "hello, world") -- send the traditional message
|
||
|
return update, 1000 -- reschedules the loop
|
||
|
end
|
||
|
|
||
|
return update() -- run immediately before starting to reschedule
|