Skip to content

Commit 43c0575

Browse files
committed
Fix line length
1 parent 1b41433 commit 43c0575

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

adafruit_macropad.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -305,15 +305,15 @@ def rotate(self, rotation):
305305
"""
306306
Set the display rotation
307307
308-
:param int rotation: The rotational position of the MacroPad. Allows for rotating the MacroPad
309-
in 90 degree increments to four different positions and rotates the keypad
310-
layout and display orientation to match. Keypad layout is always left to
311-
right, top to bottom, beginning with key number 0 in the top left, and
312-
ending with key number 11 in the bottom right. Supports ``0``, ``90``,
313-
``180``, and ``270`` degree rotations. ``0`` is when the USB port is at
314-
the top, ``90`` is when the USB port is to the left, ``180`` is when the
315-
USB port is at the bottom, and ``270`` is when the USB port is to the
316-
right. Defaults to ``0``.
308+
:param int rotation: The rotational position of the MacroPad. Allows for rotating the
309+
MacroPad in 90 degree increments to four different positions and
310+
rotates the keypad layout and display orientation to match. Keypad
311+
layout is always left to right, top to bottom, beginning with key
312+
number 0 in the top left, and ending with key number 11 in the bottom
313+
right. Supports ``0``, ``90``, ``180``, and ``270`` degree rotations.
314+
``0`` is when the USB port is at the top, ``90`` is when the USB port
315+
is to the left, ``180`` is when the USB port is at the bottom, and
316+
``270`` is when the USB port is to the right. Defaults to ``0``.
317317
"""
318318
if rotation not in (0, 90, 180, 270):
319319
raise ValueError("Only 90 degree rotations are supported.")

0 commit comments

Comments
 (0)