|
Those commands set the output.
To control the gpio pins install this library
- git clone https://github.com/xpertsavenue/WiringOP-Zero.git
Copy code
If git is not installed:
- cd WiringOP-Zero
- chmod +x ./build
- sudo ./build
Copy code
To use from terminal as normal user
gpio readall
gpio mode 7 out (set pin7 as output)
gpio write 7 1 (pin 7 high)
gpio write 7 0 (pin 7 low)
Hope that helps
|
|