This commit is contained in:
2019-03-20 13:52:00 +01:00
parent 3084fe0510
commit 5db0f78aee
910 changed files with 191152 additions and 322 deletions

View File

@@ -1,21 +1,3 @@
index=0
def calc():
global index
index += 1
ret= tscan(sin, 10, 0.1, tag="scan " + str(index))
#ret= tscan(sin, 10, 0.1)
v = max(ret.getReadable(0))
return float(v)
class PseudoDev(Readable):
def read(self):
return calc()
d= PseudoDev()
ret= lscan(inp, (d), 0, 40, 5, 0.2, tag="output")
#ret= lscan(inp, (d), 0, 40, 5, 0.2)
run("test/test1")
run("test/test1")
run("test/test1")