diff options
Diffstat (limited to 'funcGenerator.py')
-rw-r--r-- | funcGenerator.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/funcGenerator.py b/funcGenerator.py index 1d782a3..1e7be5e 100644 --- a/funcGenerator.py +++ b/funcGenerator.py @@ -57,6 +57,7 @@ class RampGen: class TriangleGen(RampGen): # monotonically goes from start to stop, once reaches stop goes back to start + # does it with 50% duty cycle, i.e half of period we go up, the other half down def getValue(self, sweeper=None): if sweeper is None and self.sweeper is None: print("Error: generator needs sweeper") |