Skip to content
Snippets Groups Projects
Commit dde8134b authored by jkerdreu's avatar jkerdreu
Browse files

Added comments

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2097 b32b6428-25c9-4566-ad07-03861ab6144f
parent 8eb193d3
No related branches found
No related tags found
No related merge requests found
......@@ -239,6 +239,11 @@ class Engine(object):
# timers
#####################################################
def add_timer(self,func,period,repeat=-1):
"""
func: function to call
period: period in second
repeat: number of repeat, -1 => always
"""
t = Timer(func,period,repeat)
self.timers.append(t)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment