14 Jan
2013
14 Jan
'13
3:50 a.m.
Les, Half way there...
On Sun, Jan 13, 2013 at 8:52 PM, Les Niles les@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