GPIO
#2
I am going to guess that it is being done the standard way GPIO is being done on Linux these days, which is with the libgpiod interface.

Kernel REAME on the interface: https://git.kernel.org/pub/scm/libs/libg...ree/README

Kernel documentation on the interface: https://www.kernel.org/doc/html/latest/d...index.html

libgpiod is straightforward to interface from C or C++. There are bindings for a lot of languages to make it easier to use. The gpiod tools even let information about the GPIO lines be gotten and the GPIO lines be set from the command line. Note that the raspberry pi has moved over to libgpiod, so one can find some documentation in that community and the raspberry pi also provides a test board if you want to test things on a board you can't damage with it before you do it on your pinephone where you might.
  Reply


Messages In This Thread
GPIO - by jack1 - 05-23-2021, 08:18 PM
RE: GPIO - by vortex - 05-24-2021, 12:26 AM
RE: GPIO - by jack1 - 05-25-2021, 10:32 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)