This commit is contained in:
2026-02-11 19:48:02 +01:00
parent 4ec6e645ba
commit fbae73828f

View File

@@ -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
EMULATOR = 'COM11'#'/dev/i2c_emulator' Device = 'HIL'
TARGET = 'COM10'#'/dev/esp_sensor_test'
if Device == 'PC':
EMULATOR = 'COM11'#'/dev/i2c_emulator'
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