This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gpio_switch [2015/01/17 10:49] Luppie Changed relay protocol into GPIO switch protocol |
gpio_switch [2015/01/17 10:54] Luppie [Notes] |
||
---|---|---|---|
Line 12: | Line 12: | ||
==== Sender Arguments ==== | ==== Sender Arguments ==== | ||
<code> | <code> | ||
- | -t --on turn the relay on | ||
- | -f --off turn the relay off | ||
-g --gpio=gpio the gpio the relay is connected to | -g --gpio=gpio the gpio the relay is connected to | ||
Line 40: | Line 38: | ||
==== Notes ==== | ==== Notes ==== | ||
- | The GPIO switch protocol follows the wiringPi numbering as can be found here: https://projects.drogon.net/raspberry-pi/wiringpi/pins/ | + | The GPIO switch protocol follows the wiringPi numbering as can be found here: http://wiringpi.com/pins/ |
Or the Radxa numbering as found here: | Or the Radxa numbering as found here: | ||
http://radxa.com/Rock/extension_header | http://radxa.com/Rock/extension_header |