Quantcast
Viewing all articles
Browse latest Browse all 5273

C/C++ • libgpiod RPI 5, C++, libgpiod-led not working.

I tried to use gpiod on the RPI 5 with C++. I have these installed: gpiod, libgpiod2, libgpiod-dev, libgpiod-doc. I tried using the libgpiod-led example code. It compiles, and runs, but does NOT accomplish anything -- that is, it does not cause the GPIO pin to turn on.

I did the same example on and RPI 4 and that works as advertised. I can see the voltage on the pin turn on and off.

I conclude that gpiod does not work on RPI 5. Is this correct?

Ah, yes, I don't think this should matter, but my new power supply is not here yet. But it is not throttled.

Code:

vcgencmd get_throttledthrottled=0x0
Can it really be true that the power supply would shut down the GPIO pins?

Statistics: Posted by bigcrater — Wed Mar 06, 2024 2:33 pm



Viewing all articles
Browse latest Browse all 5273

Trending Articles