IonizationChamber/Simulation/main.py

14 wiersze
381 B
Python
Czysty Zwykły widok Historia

2021-08-07 11:21:09 +00:00
import sys
sys.path.append('../Software/DataAcquisition')
from physical_layer import PhysicalLayer # noqa: E402
2021-08-07 11:21:09 +00:00
from state_machine import IonizationChamberStateMachine # noqa: E402
import config # noqa: E402
if __name__ == "__main__":
physicalLayer = PhysicalLayer(config)
machine = IonizationChamberStateMachine(physicalLayer)
2021-08-07 11:21:09 +00:00
while True:
machine.tick()