IonizationChamber/Simulation/main.py

14 wiersze
388 B
Python

2021-08-07 11:21:09 +00:00
import sys
2024-12-11 08:50:20 +00:00
sys.path.append('../Software/MeasurementAcquisition')
2021-08-07 11:21:09 +00:00
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()