Quantcast
Viewing all articles
Browse latest Browse all 4943

Advanced users • Re: Pi5 - PWM on GPIO 18

Afaict, though, once gpiod has trounced a PWM pin there's no standard way to get it back into the correct alt mode? "pinctrl" seems to be the only method which works great in scrappy bash scripts for playing with PWM, but isn't exactly translatable to a Python library....
Linux seems to be lacking in dynamic pin muxing controls. It is possible to declare multiple named sets of (Linux) "pinctrl" blocks and switch between them, but I think that has to be requested by a driver.

Statistics: Posted by PhilE — Wed Mar 06, 2024 5:35 pm



Viewing all articles
Browse latest Browse all 4943

Trending Articles