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 8e8a69f commit ad8514cCopy full SHA for ad8514c
mqtt_io/modules/sensor/tsl2561.py
@@ -12,7 +12,7 @@
12
"type": 'integer',
13
"required": False,
14
"empty": False,
15
- "default": '0x48'},
+ "default": '0x49'},
16
"integration_time": {
17
18
@@ -30,7 +30,7 @@
30
31
class Sensor(GenericSensor):
32
"""
33
- Implementation of Sensor class for the Adafruit_ADS1x15.
+ Implementation of Sensor class for the Adafruit_TSL2561
34
35
36
SENSOR_SCHEMA: CerberusSchemaType = {
@@ -53,7 +53,7 @@ def setup_module(self) -> None:
53
self.i2c = busio.I2C(board.SCL, board.SDA)
54
55
# Convert sensor address from hex to dec
56
- self.address = int(0x48)
+ self.address = int(0x49)
57
if 'chip_addr' in self.config:
58
self.address = int(self.config['chip_addr'])
59
0 commit comments