update
This commit is contained in:
@@ -3,8 +3,14 @@ import time
|
|||||||
from hil_lib import SCD30_HIL_Lib
|
from hil_lib import SCD30_HIL_Lib
|
||||||
|
|
||||||
# Device paths from your environment
|
# Device paths from your environment
|
||||||
|
Device = 'HIL'
|
||||||
|
|
||||||
|
if Device == 'PC':
|
||||||
EMULATOR = 'COM11'#'/dev/i2c_emulator'
|
EMULATOR = 'COM11'#'/dev/i2c_emulator'
|
||||||
TARGET = 'COM10'#'/dev/esp_sensor_test'
|
TARGET = 'COM10'#'/dev/esp_sensor_test'
|
||||||
|
elif Device == 'HIL':
|
||||||
|
EMULATOR = '/dev/i2c_emulator'
|
||||||
|
TARGET = '/dev/esp_sensor_test'
|
||||||
LOG_FILE = 'hil_validation_results.csv'
|
LOG_FILE = 'hil_validation_results.csv'
|
||||||
|
|
||||||
# Initialize HIL
|
# Initialize HIL
|
||||||
|
|||||||
Reference in New Issue
Block a user