Skip to content

Commit 680d344

Browse files
committed
Make scott's requested changes
1 parent 60df25f commit 680d344

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

adafruit_magtag/magtag.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,13 @@ def set_text(self, val, index=0, auto_refresh=True):
300300
if auto_refresh:
301301
self.refresh()
302302

303-
def exit_and_enter_deep_sleep(self, sleep_time):
303+
def exit_and_deep_sleep(self, sleep_time):
304304
"""
305305
Stops the current program and enters deep sleep. The program is restarted from the beginning
306-
after a certain period of time. If USB is plugged into a computer, it won't enter a true
307-
deep sleep.
306+
after a certain period of time.
307+
308+
See https://circuitpython.readthedocs.io/en/latest/shared-bindings/alarm/index.html for more
309+
details.
308310
309311
:param float sleep_time: The amount of time to sleep in seconds
310312
@@ -324,8 +326,10 @@ def exit_and_enter_deep_sleep(self, sleep_time):
324326

325327
def enter_light_sleep(self, sleep_time):
326328
"""
327-
Enter light sleep and resume the program after a certain period of time. If USB
328-
is plugged into a computer, it won't enter a true light sleep.
329+
Enter light sleep and resume the program after a certain period of time.
330+
331+
See https://circuitpython.readthedocs.io/en/latest/shared-bindings/alarm/index.html for more
332+
details.
329333
330334
:param float sleep_time: The amount of time to sleep in seconds
331335

0 commit comments

Comments
 (0)