Add calibration.py and force auto integration in spectrometer.py

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-05 09:13:07 +07:00
parent 739f828dea
commit 15d8444cac
2 changed files with 896 additions and 0 deletions

View File

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