I got it all working in the end. The best set of examples are here:
https://git.kernel.org/pub/scm/libs/lib ... s?h=v2.2.x
get_line_value.c is an example of simple GPIO input.
toggle_multiple_line_values.c is an example of simple GPIO output.
Then you can get even more complicated with the others!
good luck.
https://git.kernel.org/pub/scm/libs/lib ... s?h=v2.2.x
get_line_value.c is an example of simple GPIO input.
toggle_multiple_line_values.c is an example of simple GPIO output.
Then you can get even more complicated with the others!
good luck.
Statistics: Posted by edfield — Thu Dec 11, 2025 11:19 am