Simplify single-test to match vendor capture exactly

Remove send_test_config() call - vendor software doesn't send 8C 2B for
each single test, only when changing modes. Remove set_integration_time()
from spectrometer.py - vendor doesn't send 8C 01 either.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-05 14:34:31 +07:00
parent fe9ced5f5b
commit d06bf451f5
2 changed files with 4 additions and 6 deletions

View File

@@ -16,7 +16,6 @@ def measure():
dev = HPCS6500(port)
try:
dev.identify()
dev.set_integration_time(0) # auto
reading = dev.take_single_reading()
finally:
dev.close()