# start the services
python = Runtime.start("python","Python")
clock = Runtime.start("clock","Clock")
log   = Runtime.start("log","Log")
audio = Runtime.start("audio","AudioFile")

# define a ticktock method
def ticktock(timedata):
    print timedata
    audio.playResource("/resource/Clock/tick.mp3")

#create a message routes
clock.addListener("pulse", python.name, "ticktock")
clock.addListener("pulse","log","log")

# start the clock
clock.startClock()
# optional : wait the first loop before execution start
# clock.startClock(1)

@@ -14,16 +14,31 @@
 ervices%0A
+this is a test%0A
 python =

Update Clock.py