From d38db0cb624c2cf1b117082c8f856eb06ba10e13 Mon Sep 17 00:00:00 2001 From: gijsio <67470426+gijsio@users.noreply.github.com> Date: Tue, 21 Jul 2020 11:18:36 +0200 Subject: [PATCH] deepsleep usb note --- content/tutorials/basic/sleep.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/tutorials/basic/sleep.md b/content/tutorials/basic/sleep.md index ebd119c..9c8550b 100644 --- a/content/tutorials/basic/sleep.md +++ b/content/tutorials/basic/sleep.md @@ -78,7 +78,9 @@ machine.deepsleep(1000*60) #sleep for 1 minute print("This will never be printed") ``` ->Note `pybytes.deepsleep()` is fundamentally the same function as `machine.deepsleep()`, but will gracefully stop the pybytes platform functionality. +>Note: `pybytes.deepsleep()` is fundamentally the same function as `machine.deepsleep()`, but will gracefully stop the pybytes platform functionality. + +>Note: Using `deepsleep()` will also stop the USB connection. Be wary of that when trying to upload new code to the device! #### Other methods