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 43c0575 commit 6fb5471Copy full SHA for 6fb5471
adafruit_macropad.py
100755
100644
@@ -356,6 +356,10 @@ def rotation(self) -> int:
356
"""
357
return self._rotation
358
359
+ @rotation.setter
360
+ def rotation(self, new_rotation) -> None:
361
+ self.rotate(new_rotation)
362
+
363
@property
364
def display_sleep(self) -> bool:
365
"""The power saver mode of the display. Set it to put the display to
0 commit comments