We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe28a8e commit 20b2b23Copy full SHA for 20b2b23
hardware/sensor/as7331_sensor.py
@@ -18,7 +18,7 @@ class terrariumAS7331Sensor(terrariumI2CSensor):
18
19
def _load_hardware(self):
20
i2c = board.I2C()
21
- device = as7331.AS7331(i2c, self._address[1])
+ device = as7331.AS7331(i2c, self._address[0])
22
23
device.gain = as7331.GAIN_512X
24
device.integration_time = as7331.INTEGRATION_TIME_128MS
0 commit comments