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

Other programming languages • Re: pinctrl - how do you read the current state of an OUTPUT pin?

$
0
0
pinctrl get 25 is the correct method to use. It doesn't change the mode of the pin to input. It reads the current level of the actual pin no matter if it is set to input or output.

Statistics: Posted by rpdom — Thu Jul 04, 2024 8:19 am



Viewing all articles
Browse latest Browse all 5151

Trending Articles