Closed allebb closed 7 years ago
I have now decided to instead make this a separate public repository that can be downloaded using Packagist etc.
Full unit tests will also be provided and will use a similar virtual file system to that of this library:- https://github.com/PiPHP/GPIO
This has now been created and can be found here: https://github.com/allebb/gpio
A new GPIO service class should be created to read and write to the GPIO logical/in-memory filesystem to enable class-less access to these pin values.
Great documentation on how this can be achieved can be found at the following URLs:
The service class should also be able to function on other systems that do not run on the RaspberryPi and as such, come packaged with a VFS (virtual filesystem) handler.