Skip to content

Commit 689da9b

Browse files
committed
Made docstring describe example
1 parent 892d7d7 commit 689da9b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

examples/clue_ams_remote.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
This example solicits that apple devices that provide notifications connect to it, initiates
3-
pairing, prints existing notifications and then prints any new ones as they arrive.
3+
pairing, then allows the user to use a CLUE board as a media remote through both the buttons
4+
and capacitive touch pads.
45
"""
56

67
import time
@@ -33,10 +34,10 @@
3334

3435
while radio.connected:
3536
if ams.playing:
36-
play = "Playing"
37+
play_str = "Playing"
3738
else:
38-
play = "Paused"
39-
print("{} - {}, {}".format(ams.title, ams.artist, play))
39+
play_str = "Paused"
40+
print("{} - {}, {}".format(ams.title, ams.artist, play_str))
4041

4142
# Capacitive touch pad marked 0 goes to the previous track
4243
if clue.touch_0:

0 commit comments

Comments
 (0)