[arm-allstar] Using the gpio command with Allstar on the Raspberry Pi 2
Neil k8it
k8it at cac.net
Sun Feb 7 15:47:07 EST 2016
I have been experimenting with GPIO on the RPI2
I am using Doug's document for the instructions
I have a question.
Since Asterisk is initializing the URI for PTT, COS, and audio in / out, the document suggests that GPIO 19 and GPIO 26 should represent COS and PTT respectively.
However from the Linux prompt
read gpio26 always returns a zero
and read gpio19 seems to return nothing
I am assuming (most likely incorrectly) that the following are true
1. Asterisk has allready defined gpio19 as an input and GPIO26 as an output
2. That it is possible just to issue an READ GPIO19 or READ GPIO26 COMMAND AT THE lINUX PROMPT WITHOUT ANY FURTHER SETUP SINCE aSTERISK HAS ALLREADY DEFINED THESE PINS
sO WHAT AM I DOING WRONG?
Thanks
73 Neil Sablatzky K8IT
Allstar Node 41838 KITLINK
Allstar Node 42087 KITLINK HUB
IRLP Node exp0068
Echolink K8IT-L
WIRES-X K8IT 11479 Room 21479
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20160207/0db77c77/attachment.html>
More information about the arm-allstar
mailing list