It's a typo for sure :)
here's the function Dan had in mind ;)

      def convert_bytes_to_freq(bytes):
           real_freq = 0
           for byte in bytes:
               real_freq = (real_freq * 10) + byte
           return real_freq / 1000.0

I think "just above the code that needs it" is a good place for it.


Thanks Marco. I should have figured that out on my own.

The driver is now reading and displaying the values from a saved image and the UV-5R. Now I just need some guidance on how to go the other way.

Thanks so much to you and Dan for all your help.
Jim