Sfoglia il codice sorgente

add DummyInductionHeater

master
parent
commit
970838f6e7
1 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  1. +14
    -0
      noptica.py

+ 14
- 0
noptica.py Vedi File

@@ -55,6 +55,20 @@ class BufferedSDR:
self.sdr.deactivateStream(self.stream)


class DummyInductionHeater:
def __init__(self, port, induction_min, induction_max):
pass

def start(self):
pass

def set(self, amount):
print("induction", amount)

def stop(self):
pass


class InductionHeater:
"""Interface to the MHS5200A function generator driving the LC tank"""
def __init__(self, port, induction_min, induction_max):


Caricamento…
Annulla
Salva