Hi Marco,<br>Thanks. That was way too simple.<br>Jim<br><br><div class="gmail_quote">On Mon, Jan 14, 2013 at 3:24 AM, IZ3GME Marco <span dir="ltr">&lt;<a href="mailto:iz3gme.marco@gmail.com" target="_blank">iz3gme.marco@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I can&#39;t understand which is the reason not to define step as<br>
<br>
u8      step:4,<br>
        unknown:4;<br>
<br>
73 de IZ3GME Marco<br>
<div class="im HOEnZb"><br>
On 14/01/2013 03:50, Jim Unroe wrote:<br>
&gt; Les,<br>
&gt; Half way there...<br>
&gt;<br>
&gt; On Sun, Jan 13, 2013 at 8:52 PM, Les Niles &lt;<a href="mailto:les@2pi.org">les@2pi.org</a><br>
</div><div class="im HOEnZb">&gt; &lt;mailto:<a href="mailto:les@2pi.org">les@2pi.org</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Jim,<br>
&gt;<br>
&gt;     In that case, what I suggested won&#39;t work.  Especially if the<br>
&gt;     mapping is non-uniform, that is, the freq steps are all integer<br>
&gt;     multiples of the smallest step.<br>
&gt;<br>
&gt;     Maybe you just need to divide the index by 16 when you access<br>
&gt;     STEP_LIST:<br>
&gt;&gt;<br>
&gt;&gt;&gt;         RadioSettingValueList(STEP_LIST,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;         STEP_LIST[self._memobj.vfoa.step/16])<br>
&gt;&gt;<br>
&gt;<br>
&gt; The &quot;STEP_LIST[self._memobj.vfoa.step/16])&quot; works for reading the values<br>
&gt; from the UV-5R. Now I just have to figure out the right way to *16 the<br>
&gt; other direction.<br>
&gt;<br>
&gt; Jim<br>
&gt;<br>
&gt;<br>
</div><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; chirp_devel mailing list<br>
&gt; <a href="mailto:chirp_devel@intrepid.danplanet.com">chirp_devel@intrepid.danplanet.com</a><br>
&gt; <a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a><br>
&gt; Developer docs: <a href="http://chirp.danplanet.com/projects/chirp/wiki/Developers" target="_blank">http://chirp.danplanet.com/projects/chirp/wiki/Developers</a><br>
&gt;<br>
<br>
_______________________________________________<br>
chirp_devel mailing list<br>
<a href="mailto:chirp_devel@intrepid.danplanet.com">chirp_devel@intrepid.danplanet.com</a><br>
<a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a><br>
Developer docs: <a href="http://chirp.danplanet.com/projects/chirp/wiki/Developers" target="_blank">http://chirp.danplanet.com/projects/chirp/wiki/Developers</a><br>
</div></div></blockquote></div><br>