Set Loop

Each time the time set in the loop command is reached, the call to the function called up with CALL is executed.

lLoop creates an infinite loop, but to stop the LOOP, use the close_loop command

loop (ID) (SECONDS) call (MAKESUB_ID)

close_loop (ID)


photo_now ftp disable
# subroutine function:
make_sub myimg
sub myimg photo_now 640x480 myphoto
# set loop
loop myloop 30 call myimg
# wait 10 min.
sleep 600
# close loop
Powered by