libgpiod

Raspberry PI specific forum
RSrole
User
User
Posts: 71
Joined: Fri Apr 29, 2022 8:27 pm

libgpiod

Post by RSrole »

Has anyone translated LibGpioD headers to purebasic? Or is there a way to use c header files directly?
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: libgpiod

Post by mk-soft »

Perhaps here ... viewtopic.php?t=78440
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
RSrole
User
User
Posts: 71
Joined: Fri Apr 29, 2022 8:27 pm

Re: libgpiod

Post by RSrole »

https://www.i-programmer.info/programmi ... privileges.

Has a good explanation for getting to the gpio pins using low level techniques. One thing he uses is a C function mmap to memory map the io pins to user memory. Anyone know how to do that in Purebasic?
Post Reply