diff options
author | Eddy Pedroni <eddy@0xf7.com> | 2022-05-24 13:17:04 +0200 |
---|---|---|
committer | Eddy Pedroni <eddy@0xf7.com> | 2022-05-24 13:17:04 +0200 |
commit | 47873fc9a211f0f74e7f3f312abdf6f21c7b2f91 (patch) | |
tree | 6fd0701c0ab47fb1c94cd0097453296b818e1c2c /src/lab-control | |
parent | 83e3b55f9986326c213efbdc8ac20559577362c0 (diff) |
Added gitignore, restructured repo, added initial tests
Diffstat (limited to 'src/lab-control')
-rw-r--r-- | src/lab-control/function_generator.py | 23 | ||||
-rw-r--r-- | src/lab-control/oscilloscope.py | 17 |
2 files changed, 0 insertions, 40 deletions
diff --git a/src/lab-control/function_generator.py b/src/lab-control/function_generator.py deleted file mode 100644 index b7b5266..0000000 --- a/src/lab-control/function_generator.py +++ /dev/null @@ -1,23 +0,0 @@ -class FunctionGenerator: - FUNCTION_SINE = 0 - FUNCTION_SQUARE = 1 - FUNCTION_SAWTOOTH = 2 - - def __init__(self): - raise Exception("This class should not be instantiated directly, please extend it instead") - - def setOn(self, channel: int) -> None: - pass - - def setOff(self, channel: int) -> None: - pass - - def setFrequency(self, channel: int, frequency: float) -> None: - pass - - def setAmplitude(self, channel: int, amplitude: float) -> None: - pass - - def setFunction(self, channel: int, function: int) -> None: - pass - diff --git a/src/lab-control/oscilloscope.py b/src/lab-control/oscilloscope.py deleted file mode 100644 index a09f8a0..0000000 --- a/src/lab-control/oscilloscope.py +++ /dev/null @@ -1,17 +0,0 @@ -class Oscilloscope: - def __init__(self): - raise Exception("This class should not be instantiated directly, please extend it instead") - - def measureAmplitude(self, channel: int) -> float: - pass - - def measurePkToPk(self, channel: int) -> float: - pass - - def measureRMS(self, channel: int) -> float: - pass - - def measureFrequency(self, channel: int) -> float: - pass - - |