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

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

$
0
0
BINGO! YAHTZEE! The link AndyO posted to youtube has a link to download code that works. That code does indeed work. Sam Wechsler's code did the trick for me. S. Wechsler pointed out that he was opening /dev/gpiomem4, whereas the code I had was opening /dev/gpiomem0. I believe that's the key change.

So I'm all good now.

Statistics: Posted by bigcrater — Thu Mar 07, 2024 1:08 am



Viewing all articles
Browse latest Browse all 5334

Trending Articles