<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" color="#000000" face="Tahoma,sans-serif">Neil,<br><br>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.<br id="FontBreak"></font><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div><hr id="stopSpelling">From: k8it@cac.net<br>To: arm-allstar@hamvoip.org<br>Date: Sun, 7 Feb 2016 15:47:07 -0500<br>Subject: [arm-allstar] Using the gpio command with Allstar on the Raspberry Pi 2<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div>I have been experimenting with GPIO on the RPI2</div>
<div> </div>
<div>I am using Doug's document for the instructions</div>
<div> </div>
<div>I have a question.</div>
<div> </div>
<div>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.</div>
<div>However from the Linux prompt</div>
<div>read gpio26 always returns a zero</div>
<div>and read gpio19 seems to return nothing</div>
<div> </div>
<div>I am assuming (most likely incorrectly) that the following are true</div>
<div>1. Asterisk has allready defined gpio19 as an input and GPIO26 as an
output</div>
<div>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</div>
<div> </div>
<div>sO WHAT AM I DOING WRONG?</div>
<div> </div>
<div> </div>
<div> </div>
<div>Thanks<br>73 Neil Sablatzky K8IT<br>Allstar Node 41838
KITLINK<br>Allstar Node 42087 KITLINK HUB<br>IRLP Node exp0068<br>Echolink
K8IT-L<br>WIRES-X K8IT 11479 Room 21479</div>
<div style="FONT:10pt Tahoma;">
<div><font face="Calibri" size="3"></font><font face="Calibri" size="3"></font><br></div>
<div style="BACKGROUND:#f5f5f5;"><font face="Calibri" size="3"></font> </div></div>
<br>_______________________________________________
arm-allstar mailing list
arm-allstar@hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2 web page - http://hamvoip.org</div> </div></body>
</html>