diff --git a/init_params.json b/init_params.json new file mode 100644 index 0000000..5018b35 --- /dev/null +++ b/init_params.json @@ -0,0 +1,11 @@ +{ + + {INITIAL_TEMPERATURE_1 = 28 # Set initial temperature for Laser 1 in Celsius: from -1 to 45 C ?? +INITIAL_TEMPERATURE_2 = 28.9 # Set initial temperature for Laser 2 in Celsius: from -1 to 45 C ?? +INITIAL_CURRENT_1 = 33 # 64.0879 max # Set initial current for Laser 1, in mA +INITIAL_CURRENT_2 = 35 # 64.0879 max # Set initial current for Laser 2, in mA + +GUI_TIMEOUT_INTERVAL = 5#505 - dev.WAIT_AFTER_SEND*1000 # GUI refresh time in milliseconds + +SAVE_POINTS_NUMBER = 1000 # Number of most recent data points kept in memory +} \ No newline at end of file diff --git a/run b/run index 3d0615b..ff65df4 100755 --- a/run +++ b/run @@ -1,7 +1,7 @@ #!/usr/bin/bash #reset generator PCB -pinctrl set 26 op dl # drive PCB NRST LOW -> reset stm32 -pinctrl set 26 op dh # turn stm32 back ON +# pinctrl set 26 op dl # drive PCB NRST LOW -> reset stm32 +# pinctrl set 26 op dh # turn stm32 back ON source .venv/bin/activate python3 _device_main.py