Jump to content

Default state for GPIO


Mixy

Recommended Posts

Hello,

I'm using armbian on Orangepi PC PLUS and i'm controlling GPIO pins with Python.

Everything is working fine when I start my Python script.

Problem is during boot with GPIO3, because it's by default on pull up, and that is making me problem on device which is connected to that pin.

Can I change that pin to be default OUT and pull down?

 

When my python scripts starts, it will change GPIO3 to OUT and set it to 0, but I have only problem during boot.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines