Control and program Raspberry Pi GPIO with “sysfs” (shell/bash)

The GPIOs are represented on Raspberry Pi as files and can be found in the directory tree under “/ sys / class / gpio”. This is called “sysfs”. If you look at the contents of the files, you get the state out. This is either “1” or “0”.
[Read more…] about Control Raspberry Pi GPIO with sysfs