I am trying to create a snap that I can install that accesses gpio. I have tried all combinations of things and I cannot seem to make it work.
In devmode confinement it works but obviously logs a lot because the gpio is for controlling LEDs and they are being cycled often.
I am using core18 as a base. I have gpio and gpio-control listed as interfaces. When I connect the gpio-control (sudo snap connect snapname:gpio-control) it executes without issue but I still cannot access the gpio.
The only resources I can find online are basically references (more or less) to the Raspberry Pi with Ubuntu Core. That is our eventual goal but at the moment we don’t have that luxury and are instead trying to migrate a little bit at a time.
Can anyone provide assistance or references to help with this?
Thanks.