[arm-allstar] Using the gpio command with Allstar on the Raspberry Pi 2
Neil k8it
k8it at cac.net
Sun Feb 7 22:41:14 EST 2016
ah! that now makes sense ....
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
From: Doug Crompton
Sent: Sunday, February 07, 2016 10:30 PM
To: ARM Allstar
Subject: Re: [arm-allstar] Using the gpio command with Allstar on the Raspberry Pi 2
Neil,
They were proposed pins to use. They are NOT implemented in the code. The document is mainly for the user to become familiar with using GPIO for their own applications.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
--------------------------------------------------------------------------------
From: k8it at cac.net
To: arm-allstar at hamvoip.org
Date: Sun, 7 Feb 2016 15:47:07 -0500
Subject: [arm-allstar] Using the gpio command with Allstar on the Raspberry Pi 2
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
_______________________________________________ arm-allstar mailing list arm-allstar at hamvoip.org http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar Visit the BBB and RPi2 web page - http://hamvoip.org
--------------------------------------------------------------------------------
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2 web page - http://hamvoip.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20160207/57eab429/attachment.html>
More information about the arm-allstar
mailing list