Quantcast
Viewing all articles
Browse latest Browse all 4890

Beginners • Re: Control GPIO with shell

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 4890

Trending Articles