<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div style="font-family:tahoma,sans-serif;font-size:small"></div><div style="font-family:tahoma,sans-serif;font-size:small"><div style="font-family:tahoma,sans-serif;font-size:small;display:inline" class="gmail_default">I am resending this as apparently the attachment did not make it through.</div> <br><br>Attached is a bash script I wrote some time ago to write the GPIO with BCD data given decimal data input. The bits selected are 21, 22, 23, 24. Give it a try. The format is:<br><br></div><div style="font-family:tahoma,sans-serif;font-size:small">bcd_control.sh <channel 1-16> .... Just the channel number No brackets.<br><br></div><div style="font-family:tahoma,sans-serif;font-size:small">Also remember to execute a script it must be executable - if it is not do - chmod 750 bcd_control.sh and if executing it in the current directory do - ./bcd_control.sh<br></div><div style="font-family:tahoma,sans-serif;font-size:small"><br></div><div style="font-family:tahoma,sans-serif;font-size:small">After you execute it will tell you what it did. Then at the Linux prompt type:<br><br></div><div style="font-family:tahoma,sans-serif;font-size:small">gpio readall <br><br></div><div style="font-family:tahoma,sans-serif;font-size:small">You will get a chart of the I/O bits. Bits 21, 22, 23, 24 will show the BCD representation of the decimal channel you entered.<br><br></div><div style="font-family:tahoma,sans-serif;font-size:small">This also includes a strobe bit because the system I was writing it for required that. You can ignore it if you don't need it. It is bit 25 for 100ms.<br><br></div><div style="font-family:tahoma,sans-serif;font-size:small">You can see how this could be implemented as DTMF functions or better yet using the autopatch through extensions.conf. See the howto on that on the <a href="http://hamvoip.org" target="_blank">hamvoip.org</a> web page. Also the howto on GPIO.<br><br></div><div style="font-family:tahoma,sans-serif;font-size:small">Using the autopatch method a DTMF like *6201 through *6216 could change the 16 channels.<br><br></div><div style="font-family:tahoma,sans-serif;font-size:small">Any yes this could be done in supermon but first you need to understand this part of it and get it working. You need to interface those 4 bits to the radio and manually execute this command.<br><br></div><div style="font-family:tahoma,sans-serif;font-size:small">Here is a link from this forum January 2016 about this -<br><br><a href="http://lists.hamvoip.org/pipermail/arm-allstar/2016-January/002637.html" target="_blank">http://lists.hamvoip.org/<wbr>pipermail/arm-allstar/2016-<wbr>January/002637.html</a><br></div><div style="font-family:tahoma,sans-serif;font-size:small"> <div dir="ltr"><div style="font-family:tahoma,sans-serif;font-size:small"></div><div><div class="m_4340382814782439339gmail-m_-5006217839479707117gmail_signature"><div dir="ltr"><div><div><b><font size="4">73 Doug<br></font></b></div><b><font size="4">WA3DSP<br></font></b></div><b><font size="4"><a href="http://www.crompton.com/hamradio" target="_blank">http://www.crompton.com/hamrad<wbr>io</a><br></font></b></div></div></div>
</div>
<br></div></div><div class="gmail_extra"><br><br></div>
</div><br></div>