Use Battery (Pull P8 high)
-
To boot from the battery on the Expansion Board v3.0 I understand that you have to pull P8 high. I tried this using the following code:
from machine import Pin pin=Pin('P8',Pin.OUT) pin.value(1) print(pin.value())but that does not seem to have any effect. Do you know what is wrong with the code?
-
@max You have to pull up P8 physically, because that sensing is done before MicroPython gets active.
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