We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b089f40 + 9b93d22 commit 7c424d0Copy full SHA for 7c424d0
adafruit_rgb_display/rgb.py
@@ -255,6 +255,19 @@ def rotation(self, val: int) -> None:
255
raise ValueError("Rotation must be 0/90/180/270")
256
self._rotation = val
257
258
+ @property
259
+ def root_group(self) -> None:
260
+ """Placeholder attribute to catch displayio use"""
261
+ raise NotImplementedError(
262
+ "Please use a displayio driver for the display. This is the pixel-level driver."
263
+ )
264
+
265
+ @root_group.setter
266
+ def root_group(self, val) -> None:
267
268
269
270
271
272
class DisplaySPI(Display):
273
"""Base class for SPI type devices"""
0 commit comments