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

Python • Re: gpiozero and gpio 3 mystery...

$
0
0
Presumably something is or isn't being cleaned up when the LED object is redefined !?

I see the same on my Pi5 running the latest Bookworm.

At boot:

Code:

pi@raspberrypi:~ $ pinctrl get 3 3: no    pu | -- // PIN5/GPIO3 = none
After program 1:

Code:

pi@raspberrypi:~ $ pinctrl get 3 3: op dl pn | lo // PIN5/GPIO3 = output
After program 2:

Code:

pi@raspberrypi:~ $ pinctrl get 3 3: ip    pn | hi // PIN5/GPIO3 = input

Statistics: Posted by rpiMike — Fri Dec 22, 2023 2:33 pm



Viewing all articles
Browse latest Browse all 1297

Trending Articles