This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gpio_switch [2014/11/04 19:29] curlymo created |
gpio_switch [2015/11/27 21:09] (current) |
||
---|---|---|---|
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 relay 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 |