[aprssig] Dear Mr Kenwood (MicE decoding)
david Vanhorn
kc6ete at gmail.com
Mon Dec 28 20:19:56 EST 2009
Take the fractional part and use a lookup table.
-- Sent from my Palm Prē
Scott Miller wrote:
> Done. Plus a little cleanup here and there... It was designed
> to be a pretty simple manipulation of bits. A table was never
> intended. That was just how Ian decided to represent the
> algorithm in the spec making it appear overly complex when in
> fact, it is a very simple offset of bits.
And how would you suggest implementing the speed and altitude? Where
speed = (1.08^x)-1 and altitude = 1.002^x? Yeah, it's easy on a PC
where you've got floating point support and memory and CPU cycles to
burn. Not fun on an 8-bit MCU that more often than not doesn't even
have a hardware multiplier. Certainly not as simple as the single
QBASIC statement needed to handle it might imply.
Scott
N1VG
_______________________________________________
aprssig mailing list
aprssig at tapr.org
https://www.tapr.org/cgi-bin/mailman/listinfo/aprssig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/aprssig_lists.tapr.org/attachments/20091228/1cc0617c/attachment.html>
More information about the aprssig
mailing list