Skip to content

Commit a595621

Browse files
authored
Merge pull request #15 from kattni/add-display-object
Add board.DISPLAY object for passing as clue.display
2 parents 828d792 + 771fa0c commit a595621

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adafruit_clue.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,9 @@ def __init__(self):
218218
# Barometric pressure sensor:
219219
self._pressure = adafruit_bmp280.Adafruit_BMP280_I2C(self._i2c)
220220

221+
# Create displayio object for passing.
222+
self.display = board.DISPLAY
223+
221224
def _touch(self, i):
222225
if not isinstance(self._touches[i], touchio.TouchIn):
223226
# First time referenced. Get the pin from the slot for this touch

0 commit comments

Comments
 (0)