Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion adafruit_stmpe610.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@ def __init__(self, spi, cs, baudrate=1000000):
version = self.get_version
if _STMPE_VERSION != version:
raise RuntimeError(
"Failed to find STMPE610! Chip Version 0x%x" % version
"Failed to find STMPE610! Chip Version 0x%x. "
"If you are using the breakout, verify you are in SPI mode."
% version
)
super().__init__()

Expand Down