light sleep and uart
-
Good morning,
is there a way in order to user light sleep and uart (pin P3 and P4)?
machine.pin_sleep_wakeup(['P4'], machine.WAKEUP_ANY_HIGH, False)
i want send AT command to an external module via Uart (pin P3--> Tx and Pin P4 -->Rx) and go in Light sleep mode (machine.sleep()), when i wait for the answer.
I would like to wake up when i receive something on pin P4 (machine.pin_sleep_wakeup(['P4'], machine.WAKEUP_ANY_HIGH, False) )is it possible?
regards,
Alessandro
-
@Alessandro-Cortese There is no way implemented to stop machine.sleep().
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login