Skip to content

Commit

Permalink
Properly pass-in the calibration values (bungled rebase?)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisib committed Jan 10, 2025
1 parent 8d77303 commit 63787aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions software/firmware/europi.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,12 +663,12 @@ def value(self):
)


cv1 = Output(PIN_CV1)
cv2 = Output(PIN_CV2)
cv3 = Output(PIN_CV3)
cv4 = Output(PIN_CV4)
cv5 = Output(PIN_CV5)
cv6 = Output(PIN_CV6)
cv1 = Output(PIN_CV1, calibration_values=OUTPUT_CALIBRATION_VALUES[0])
cv2 = Output(PIN_CV2, calibration_values=OUTPUT_CALIBRATION_VALUES[1])
cv3 = Output(PIN_CV3, calibration_values=OUTPUT_CALIBRATION_VALUES[2])
cv4 = Output(PIN_CV4, calibration_values=OUTPUT_CALIBRATION_VALUES[3])
cv5 = Output(PIN_CV5, calibration_values=OUTPUT_CALIBRATION_VALUES[4])
cv6 = Output(PIN_CV6, calibration_values=OUTPUT_CALIBRATION_VALUES[5])
cvs = [cv1, cv2, cv3, cv4, cv5, cv6]

# Helper object to detect if the USB cable is connected or not
Expand Down

0 comments on commit 63787aa

Please sign in to comment.