Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5875

Beginners • Re: Control GPIO with shell

$
0
0
Try using the built in command line program pinctrl

Code:

pinctrl set 4 op dh
will set GPIO4 high
Other linux computers might use libgpiod, so we dont need to know memory addresses.

Statistics: Posted by neilgl — Sun Sep 01, 2024 5:11 pm



Viewing all articles
Browse latest Browse all 5875

Trending Articles