Search the Community
Showing results for tags 'gpio'.
We're using this library as the base to automating testing via power control in some of our SBC test farms. https://github.com/lanefu/sbc-gpio-pcf857x/blob/main/lib/gpio.sh It would be great to convert this in to a simple python3 class. Given we use this with various SBCs, I would recommend using https://docs.python.org/3/library/subprocess.html#module-subprocess to continue to exec via the gpio shell command other than a native python gpio library. extra credit: create a REST API via flask extra extra credit: Add Swagger interface to REST API extra extra extra credit: react interface to REST API