Skip to content

Commit 262e47e

Browse files
authored
Merge pull request #129 from scirelli/issue_128
Issue 128: Fixed an error message that was using the wrong number system
2 parents 5c2ebbb + 6229da8 commit 262e47e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_seesaw/seesaw.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def __init__(self, i2c_bus, addr=0x49, drdy=None, reset=True):
159159
_SAMD09_HW_ID_CODE,
160160
):
161161
raise RuntimeError(
162-
f"Seesaw hardware ID returned 0x{self.chip_id} is not "
162+
f"Seesaw hardware ID returned 0x{self.chip_id:x} is not "
163163
"correct! Please check your wiring."
164164
)
165165

0 commit comments

Comments
 (0)