initial commit
This commit is contained in:
11
init_params.json
Normal file
11
init_params.json
Normal 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
4
run
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user