Skip to content

Commit 2c91078

Browse files
committed
fix valueError
1 parent ba11a80 commit 2c91078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_as726x.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def __init__(self, i2c_bus):
124124
self._driver_led = False
125125
self._indicator_led = False
126126
self._driver_led_current = Adafruit_AS726x.DRIVER_CURRENT_LIMITS.index(12.5)
127-
self._indicator_led_current = Adafruit_AS726x.INDICATOR_CURRENT_LIMITS.index(0)
127+
self._indicator_led_current = Adafruit_AS726x.INDICATOR_CURRENT_LIMITS.index(1)
128128
self._conversion_mode = Adafruit_AS726x.MODE_2
129129
self._integration_time = 0
130130
self._gain = Adafruit_AS726x.GAIN.index(1)

0 commit comments

Comments
 (0)