-
|
Hi, on learning lgpiod library for C... Having come from finding out various depreciated libraries for C namely gpio.h; sysfs etc. lgpiod.h was a nice find. But struggling finding simple system calls? I see various examples for basic projects like blinking an LED using gpiod_chip_get_line. But where is this exactly in the header file located? gpiod_chip_get_line sounds like I may have mistaken it for gpiod_chip_request_lines, but I can see its requiring some config.. unlikely fit for the simply purpose of opening a line? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I have recently published docs on RTD. Please take a look at https://libgpiod.readthedocs.io/en/latest/core_api.html, it documents all the public symbols from the current C library. For the core C library, the header is |
Beta Was this translation helpful? Give feedback.
I have recently published docs on RTD. Please take a look at https://libgpiod.readthedocs.io/en/latest/core_api.html, it documents all the public symbols from the current C library. For the core C library, the header is
gpiod.hunderinclude/in git repo, typically installed under/usr/include/gpiod.h.