Page 1 of 1

libgpiod

Posted: Sat Nov 30, 2024 9:06 pm
by RSrole
Has anyone translated LibGpioD headers to purebasic? Or is there a way to use c header files directly?

Re: libgpiod

Posted: Sun Dec 01, 2024 3:02 am
by mk-soft
Perhaps here ... viewtopic.php?t=78440

Re: libgpiod

Posted: Mon Dec 02, 2024 5:18 pm
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?