From 771fa0ca03fee1ac0a776afcacf3568d0757b209 Mon Sep 17 00:00:00 2001 From: Kattni Rembor Date: Fri, 14 Feb 2020 14:12:53 -0500 Subject: [PATCH] Add board.DISPLAY object ffor passing as clue.display --- adafruit_clue.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/adafruit_clue.py b/adafruit_clue.py index 628a2db..5ad6843 100644 --- a/adafruit_clue.py +++ b/adafruit_clue.py @@ -218,6 +218,9 @@ def __init__(self): # Barometric pressure sensor: self._pressure = adafruit_bmp280.Adafruit_BMP280_I2C(self._i2c) + # Create displayio object for passing. + self.display = board.DISPLAY + def _touch(self, i): if not isinstance(self._touches[i], touchio.TouchIn): # First time referenced. Get the pin from the slot for this touch