fix(envea): increase sensor response wait time to 1.5s
Some readings were returning 0 because the sensor hadn't fully responded within 1 second. Increased to 1.5s for more reliable reads. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -115,7 +115,7 @@ try:
|
||||
debug_print(f" → Sent command: {command.hex()}")
|
||||
|
||||
# Wait for complete sensor response (sensor needs time to process and reply)
|
||||
time.sleep(1.0)
|
||||
time.sleep(1.5)
|
||||
|
||||
# Read all available data from buffer
|
||||
bytes_available = serial_connection.in_waiting
|
||||
|
||||
Reference in New Issue
Block a user