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.
1 parent b089f40 commit b413eaaCopy full SHA for b413eaa
adafruit_rgb_display/rgb.py
@@ -255,6 +255,16 @@ 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("Please use a displayio driver for the display. This is the pixel-level driver.")
262
+
263
+ @root_group.setter
264
+ def root_group(self, val) -> None:
265
266
267
268
269
class DisplaySPI(Display):
270
"""Base class for SPI type devices"""
0 commit comments