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

Python • Re: SOLVED: How to restore Serial pins in Python

$
0
0
Thank you, adding

Code:

import subprocesscommand="pinctrl 14,15 a5"subprocess.call(command, shell=True)
after using the pins for other purpose solved the issue on RPi Zero 2W.

Statistics: Posted by Smajdalf — Sun Jan 05, 2025 10:36 am



Viewing all articles
Browse latest Browse all 1269

Trending Articles