adafruit / Adafruit_CircuitPython_STMPE610

Adafruit CircuitPython driver for the STMPE610 resistive touchscreen controller
MIT License
1 stars 10 forks source link

Fix error in formatting RuntimeError string. #26

Closed rtwfroody closed 2 years ago

rtwfroody commented 2 years ago

Before you got:

TypeError: not all arguments converted during string formatting

Now you get:

RuntimeError: Failed to find STMPE610 controller! Chip Version 0XFFFF. If you are using the breakout, verify you are in SPI mode.