OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Alternative boards – RockiPi 4c plus › Reply To: Alternative boards – RockiPi 4c plus
December 7, 2022 at 6:52 pm
#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.