update
This commit is contained in:
@@ -3,8 +3,8 @@ import time
|
||||
from hil_lib import SCD30_HIL_Lib
|
||||
|
||||
# Device paths from your environment
|
||||
EMULATOR = '/dev/i2c_emulator'
|
||||
TARGET = '/dev/esp_sensor_test'
|
||||
EMULATOR = 'COM11'#'/dev/i2c_emulator'
|
||||
TARGET = 'COM10'#'/dev/esp_sensor_test'
|
||||
LOG_FILE = 'hil_validation_results.csv'
|
||||
|
||||
# Initialize HIL
|
||||
@@ -32,7 +32,7 @@ with open(LOG_FILE, mode='w', newline='') as f:
|
||||
if hil.process_bridge(co2, 24.0, 50.0):
|
||||
data_served = True
|
||||
break
|
||||
|
||||
#time.sleep(4)
|
||||
if not data_served:
|
||||
print("Error: Target didn't request data within 10s.")
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user