Mercurial > code > home > repos > light9
comparison light8/io.py @ 16:7dbe8067acea
fixed bug with channel levels not displaying
fixed bug with channel levels not displaying
moved an import from rsn to io
author | drewp |
---|---|
date | Sun, 07 Jul 2002 06:33:29 +0000 |
parents | 7adc65771676 |
children | f595fdd4c548 |
comparison
equal
deleted
inserted
replaced
15:c76b62eccdec | 16:7dbe8067acea |
---|---|
1 | |
2 | |
3 from parport import * | |
1 | 4 |
2 DUMMY=1 | 5 DUMMY=1 |
3 | 6 |
4 def init(DUMMY_in): | 7 def init(DUMMY_in): |
5 global DUMMY | 8 global DUMMY |
6 if not DUMMY_in: | 9 if not DUMMY_in: |
10 | |
7 getparport() | 11 getparport() |
8 DUMMY=0 | 12 DUMMY=0 |
9 | 13 |
10 def sendlevels(levels): | 14 def sendlevels(levels): |
11 if DUMMY: return | 15 if DUMMY: return |