Skip to content

Commit 4e4675c

Browse files
committed
docs: further explain ButtonPacket.button property
Explain that this attribute corresponds to whatever the user has pressed or released.
1 parent 9e82238 commit 4e4675c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_bluefruit_connect/button_packet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ def to_bytes(self):
101101

102102
@property
103103
def button(self):
104-
"""A single character string (not bytes) specifying the button."""
104+
"""A single character string (not bytes) specifying the button that
105+
the user pressed or released."""
105106
return self._button
106107

107108
@property

0 commit comments

Comments
 (0)