Skip to content

Commit a97877e

Browse files
committed
fix typo, update set_time comment
1 parent fdb1548 commit a97877e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adafruit_display_analogclock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def set_time(self, hour, minute):
139139
Set the hour and minute hands to the appropriate angles
140140
based on the given time.
141141
142-
:param hour: The hour to set 0-12
142+
:param hour: The hour to set 0-23
143143
:param minute: The minute to set 0-59
144144
:return: None
145145
"""

examples/display_analogclock_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
"""
55
Demonstration of AnalogClock display widget.
6-
Iniaitialize a clock, show it on the display and set it
6+
Initialize a clock, show it on the display and set it
77
to show a specific time.
88
99
Intended to run on devices with a built-in display.

0 commit comments

Comments
 (0)