Model Railroad System
2.2.2
|
Linux GPIO interface, using sysfs.
Linux GPIO interface, using sysfs.
This is the portable implementation of GPIO under Linux, using the sysfs file system (/sys/class/gpio/...). This code should work on all SBC / development boards that run Linux (Raspberry Pis, Beagle Bones, Banana Pis, etc.).