[chirp_devel] Need help with UV-5R reading/writing

Andrew Errington
Sat Jan 12 17:38:05 PST 2013


On Sun, 13 Jan 2013 09:54:42 Jim Unroe wrote:
> Hi all,
>
> I wish I new the correct terms to use to ask this question, but I don't. I
> have a value that I need to read and write to a UV-5R memory location. It
> appears that the values for 0, 1, 2, 3 ... 14  are hex 00, 10, 20, 30 ...
> E0 in the image file.
>
> Would someone get me pointed in the right direction?
>
> Thanks,
> Jim

What do you need to do?  If you are writing software and you need to convert 
0, 1, 2, 3 ... 14 to 0x00, 0x10, 0x20, 0x30 ... 0xE0 then just multiply by 
16.

0 x 16 = 0 = 0x00
1 x 16 = 16 = 0x10
2 x 16 = 32 = 0x20
3 x 16 = 48 = 0x30
.
.
.
14 x 16 = 224 = 0xE0

Is that what you need to do, or do I misunderstand your question?

73,

Andrew



More information about the chirp_devel mailing list