please choosego to mobile | Continue to access the PC version
View: 501|Reply: 1

Using GPIO with python code

[Copy link]

2

threads

3

posts

28

credits

Novice

Rank: 1

credits
28
Published in 2025-2-6 03:57:49 | Show all floors |Read mode
Hi

I'm using Orange PI 8 Ultra.

I want to use GPIO (to communicate with my stepper motor driver).
For some reason I'm not able to find any python code that is able to communicate with my GPIO.

The good point is that I'm able to use GPIO cli to operate it:

gpio mode 19 output
gpio mode 23 output
gpio mode 25 input
gpio write 19 0




I'm not able to find any documentation or examples around to make it work with python.
I found the following package https://pypi.org/project/OPi.GPIO/ but looks like that it's outdated.

Can you help me?

2

threads

3

posts

28

credits

Novice

Rank: 1

credits
28
 Author| Published in 2025-2-9 16:51:36 | Show all floors
Anyone here?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list