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

Beginners • Re: Testing my GPIO pins on Raspi5

$
0
0
I think there is something not quite right with pintest. It gives

Code:

pintest: error: 'GPIO busy'
on a Pi4 running Bookworm after 5 GPIO have been shown as ok. Re-running it gives 5 different GPIO as ok then throws the error. That Pi4 is known to be good but has one-wire enabled.

On a Pi5 running Bookworm it gives the same error but seemingly random GPIO are ok - that seems to be because a python script is running in the background flashing an LED every second on GPIO21

Maybe something is running on your Pi5?

You could try using pinctrl to read all GPIO and to set a GPIO high/low e.g.

Code:

pinctrl set 21 op dh

Statistics: Posted by neilgl — Sun Apr 27, 2025 6:36 pm



Viewing all articles
Browse latest Browse all 8051

Trending Articles