OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Alternative boards – RockiPi 4c plus Reply To: Alternative boards – RockiPi 4c plus

#74468

Ray
Keymaster

The ‘interfacing’ functions are in the gpio.cpp file:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/gpio.cpp#L185
it uses direct read/write of system files. It’s also possible to use command line tools, like the ‘raspi-gpio’ command to implement most of these functions.