examples moved to doc
This commit is contained in:
parent
3d07cf6ecf
commit
f7a307c9dd
3 changed files with 25 additions and 0 deletions
9
doc/example/counter.py
Normal file
9
doc/example/counter.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
import time
|
||||
crontable = []
|
||||
outputs = []
|
||||
|
||||
#crontable.append([.5,"add_number"])
|
||||
crontable.append([5,"say_time"])
|
||||
|
||||
def say_time():
|
||||
outputs.append(["D030GJLM2", time.time()])
|
Loading…
Add table
Add a link
Reference in a new issue