<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<STYLE><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></STYLE>
<META name=GENERATOR content="MSHTML 11.00.10240.16644"></HEAD>
<BODY id=MailContainerBody class=hmmessage
style="PADDING-TOP: 15px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px" leftMargin=0
topMargin=0 CanvasTabStop="true" name="Compose message area">
<DIV>ah! that now makes sense ....</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><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=doug@crompton.com
href="mailto:doug@crompton.com">Doug Crompton</A> </DIV>
<DIV><B>Sent:</B> Sunday, February 07, 2016 10:30 PM</DIV>
<DIV><B>To:</B> <A title=arm-allstar@hamvoip.org
href="mailto:arm-allstar@hamvoip.org">ARM Allstar</A> </DIV>
<DIV><B>Subject:</B> Re: [arm-allstar] Using the gpio command with Allstar on
the Raspberry Pi 2</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV dir=ltr><FONT 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><A
href="http://www.crompton.com/hamradio">http://www.crompton.com/hamradio</A></FONT></B><FONT
style="FONT-SIZE: 16pt" size=4><BR></FONT><BR><BR>
<DIV>
<HR id=stopSpelling>
From: <A href="mailto:k8it@cac.net">k8it@cac.net</A><BR>To: <A
href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</A><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 size=3 face=Calibri></FONT><FONT size=3
face=Calibri></FONT><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5"><FONT size=3
face=Calibri></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>
<P>
<HR>
<P></P>_______________________________________________<BR><BR>arm-allstar
mailing
list<BR>arm-allstar@hamvoip.org<BR>http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar<BR><BR>Visit
the BBB and RPi2 web page - http://hamvoip.org</BODY></HTML>