Skip to content

Commit 9b28903

Browse files
committed
fix default addr
1 parent 7145de6 commit 9b28903

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ags02ma_simpletest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
# do not go that low...but RP2040, ESP32-S2 does
1313
i2c = busio.I2C(board.SCL, board.SDA, frequency=20_000)
1414

15-
ags = AGS02MA(i2c, address=0x22)
15+
ags = AGS02MA(i2c, address=0x1A)
1616

1717
# It is possible to change the I2C address 'semi-permanently' but
1818
# note that you'll need to restart the script after adjusting the address!
19-
# ags.set_address(0x22)
19+
#ags.set_address(0x1A)
2020

2121
while True:
2222
try:

0 commit comments

Comments
 (0)