UNPKG

opengpio

Version:

A performant c++ based general purpose GPIO controller for linux devices. OpenGPIO is written using libgpiod, line & chip based abstractions.

5 lines (4 loc) 297 B
# References - https://www.youtube.com/watch?v=76j3TIqTPTI - https://github.com/starnight/libgpiod-example/tree/master - https://stackoverflow.com/questions/51310506/using-c-libgpiod-library-how-can-i-set-gpio-lines-to-be-outputs-and-manipulat (This answer helped me get the first setter working)