initial commit

This commit is contained in:
awe
2025-11-24 15:57:57 +03:00
parent c8b6aed434
commit 620bef8c88
2 changed files with 13 additions and 2 deletions

11
init_params.json Normal file
View File

@ -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
}

4
run
View File

@ -1,7 +1,7 @@
#!/usr/bin/bash #!/usr/bin/bash
#reset generator PCB #reset generator PCB
pinctrl set 26 op dl # drive PCB NRST LOW -> reset stm32 # pinctrl set 26 op dl # drive PCB NRST LOW -> reset stm32
pinctrl set 26 op dh # turn stm32 back ON # pinctrl set 26 op dh # turn stm32 back ON
source .venv/bin/activate source .venv/bin/activate
python3 _device_main.py python3 _device_main.py