<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Pardon my literalness, but if you say
"Row 1st, Col 2nd", then for KM I'd go to row K up the right side
and column M across the bottom and get 520 whereas your example
says it's 502 which seems to be column K and row M?<br>
<br>
More than one example would make it more clear for those of us
that need to see what you're talking about.<br>
<br>
Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and
Win32<br>
<br>
On 2/14/2015 7:33 AM, George Vastianos wrote:<br>
</div>
<blockquote
cite="mid:417757499.4974293.1423917191176.JavaMail.yahoo@mail.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:16px">
<div id="yiv9611749812">
<div id="yui_3_16_0_1_1423916460555_14540"
style="color:#000;background-color:#fff;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida Grande,
sans-serif;font-size:16px;">
<div id="yiv9611749812">
<div id="yiv9611749812yui_3_16_0_1_1423916460555_13058"
style="color:#000;background-color:#fff;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida Grande,
sans-serif;font-size:16px;">
<div id="yiv9611749812">
<div
id="yiv9611749812yui_3_16_0_1_1423916460555_13057"
style="color:#000;background-color:#fff;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida Grande,
sans-serif;font-size:16px;">
<div id="yiv9611749812">
<div
id="yiv9611749812yui_3_16_0_1_1423916460555_13056"
style="color:#000;background-color:#fff;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida Grande,
sans-serif;font-size:16px;">
<div id="yiv9611749812">
<div
id="yiv9611749812yui_3_16_0_1_1423916460555_13055"
style="color:#000;background-color:#fff;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande, sans-serif;font-size:16px;">
<div
id="yiv9611749812yui_3_16_0_1_1423916460555_4131"
style="" class="yiv9611749812" dir="ltr">Hello
Bob<br style="" class="">
<br style="" class="">
IMO in APRStt the conversion between grid
and numbers should be very easy in a way
that no calculation algorithm will be
needed by the user and only a small
printed table will be enough. In this way
with a small printed paper in the pocket
and the low cost HT anyone could define
his position in the APRS system (of course
if he knows his position and if there is
APRStt infrastructure in his area...)<br
style="" class="">
<br style="" class="">
In the attached file (PNG picture) you can
find my proposal for a simple conversion
table<br style="" class="">
<br style="" class="">
the result is that you add a group of 3
number-digits for each 2 letters of the
grid<br style="" class="">
<br style="" class="">
eg. KM = 502, KM17 = 50217, KM17uw =
50217902, KM17uw48 = 5021790248<br
style="" class="">
<br style="" class="">
based on the fact that my proposal uses
only the 0-9 digits and not the *,#,A-D
this makes it compatible with the APRStt
format.<br style="" class="">
<br style="" class="">
The conversion table was designed in a way
that the conversion from the number to
ascii will be very easy (even for 8-bit
microcontrollers) and will not require
usage of memory lookup tables.<br style=""
class="">
<br style="" class="">
Below is a sample code (in basic style)
that will convert the 3-digit number into
the Grid Square letter characters (e.g.
for i=502 then Chr(C1) becomes "K" and
Chr(C2) becomes "M")<br style="" class="">
<br style="" class="">
----------------------------<br style=""
class="">
<br style="" class="">
'example I=536 will print "NQ"<br style=""
class="">
<br style="" class="">
Dim I, X, CO1, CO2, C1, C2 As Integer<br
style="" class="">
I = 536<br style="" class="">
If (I >= 100 And I < 340) Then<br
style="" class="">
CO1 = 10: CO2 = 65<br style=""
class="">
ElseIf (I >= 400 And I < 640) Then<br
style="" class="">
CO1 = 40: CO2 = 75<br style=""
class="">
ElseIf (I >= 700 And I < 940) Then<br
style="" class="">
CO1 = 70: CO2 = 85<br style=""
class="">
End If<br style="" class="">
X = Int(I / 10)<br style="" class="">
C1 = 65 + X - CO1<br style="" class="">
If C1 < 65 Or C1 > 88 Then End
'ERROR i is outside limits<br style=""
class="">
C2 = I - X * 10 + CO2<br style="" class="">
If C2 < 65 Or C2 > 88 Then End
'ERROR i is outside limits<br style=""
class="">
MsgBox Chr(C1) & Chr(C2) <br style=""
class="">
<br style="" class="">
--------------------------<br style=""
class="">
<br style="" class="">
In the above sample code the C1 and C2 are
integers that contain the ASCII value of
the 2 characters..... This proposal is not
only for the satellite app but for the
APRStt in general.<br style="" class="">
<br style="" class="">
73<br style="" class="">
<br style="" class="">
<div id="yui_3_16_0_1_1423916460555_14782">sv8gxc</div>
<div id="yui_3_16_0_1_1423916460555_14869"><br>
</div>
<div id="yui_3_16_0_1_1423916460555_14871"
dir="ltr">P.S. The limit of 40KB in
aprssig list....really sucks! i tried 3
times to send the same email until it
fits in limits. SORRY in case you
received multiple times the same message
(e.g. amsat-bb)<br>
</div>
</div>
<div
id="yiv9611749812yui_3_16_0_1_1423916460555_4131"
style="" class="" dir="ltr"><br style=""
class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
aprssig mailing list
<a class="moz-txt-link-abbreviated" href="mailto:aprssig@tapr.org">aprssig@tapr.org</a>
<a class="moz-txt-link-freetext" href="http://www.tapr.org/mailman/listinfo/aprssig">http://www.tapr.org/mailman/listinfo/aprssig</a>
</pre>
</blockquote>
<br>
</body>
</html>