<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 30, 2014 at 10:31 PM, Tom Hayward <span dir="ltr"><<a href="mailto:esarfl@gmail.com" target="_blank">esarfl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im"><p dir="ltr">On Jan 30, 2014 5:36 PM, "Jim Unroe" <<a href="mailto:rock.unroe@gmail.com" target="_blank">rock.unroe@gmail.com</a>> wrote:<br>
><br>
> I've have been loaned a Baofeng UV-6 radio. I think it should get its own uv6.py file. What is the correct procedure to get it started.</p>
</div><p dir="ltr">There's not much to it.</p>
<p dir="ltr">cp uv5r.py uv6.py</p>
<p dir="ltr">Then modify uv6.py as needed to support the UV-6. </p>
<p dir="ltr">If you decide there are significant similarities and they should share some code, ask specifically about that code and we'll try to figure out the best way to combine them.</p>
<p dir="ltr">Tom KD7LXL </p><br></blockquote></div>Tom,<br><br>I created the uv6.py file last weekend. It is working and fairly complete.<br><br>This radio doesn't have a keypad or display. So in a lot of ways this radio is quite similar to a UV-5R and in a lot of other ways it is quite different.<br>
<br></div><div class="gmail_extra">The memory layout that it uses is largely the same, but a few bytes here and there are used for different purpose in this radio than the others.<br><br> I've ripped out 99% of the structure and code from the uv5r.py that isn't used or necessary. I've also borrowed from other radios as well as cleaned up the code from what I've learn by 'hacking' on the uv5r.py file for the last 13 months.<br>
<br></div><div class="gmail_extra">My plans were to submit the uv6.py file without the settings menus. Then follow that up with the Basic Settings after going over them one last time. And then the same of the additional menus. But I can try to combine this up if it is the right thing to do.<br>
<br></div><div class="gmail_extra">Jim KC9HI<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Jim<br></div></div>