[chirp_devel] Need help with UV-5R reading/writing
Jim Unroe
Mon Jan 14 02:01:46 PST 2013
Hi Marco,
Thanks. That was way too simple.
Jim
On Mon, Jan 14, 2013 at 3:24 AM, IZ3GME Marco <iz3gme.marco at gmail.com>wrote:
> I can't understand which is the reason not to define step as
>
> u8 step:4,
> unknown:4;
>
> 73 de IZ3GME Marco
>
> On 14/01/2013 03:50, Jim Unroe wrote:
> > Les,
> > Half way there...
> >
> > On Sun, Jan 13, 2013 at 8:52 PM, Les Niles <les at 2pi.org
> > <mailto:les at 2pi.org>> wrote:
> >
> > Jim,
> >
> > In that case, what I suggested won't work. Especially if the
> > mapping is non-uniform, that is, the freq steps are all integer
> > multiples of the smallest step.
> >
> > Maybe you just need to divide the index by 16 when you access
> > STEP_LIST:
> >>
> >>> RadioSettingValueList(STEP_LIST,
> >>>
> >>> STEP_LIST[self._memobj.vfoa.step/16])
> >>
> >
> > The "STEP_LIST[self._memobj.vfoa.step/16])" works for reading the values
> > from the UV-5R. Now I just have to figure out the right way to *16 the
> > other direction.
> >
> > Jim
> >
> >
> > _______________________________________________
> > chirp_devel mailing list
> > chirp_devel at intrepid.danplanet.com
> > http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
> > Developer docs:
> http://chirp.danplanet.com/projects/chirp/wiki/Developers
> >
>
> _______________________________________________
> chirp_devel mailing list
> chirp_devel at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
> Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20130114/c61b530a/attachment-0001.html
More information about the chirp_devel
mailing list