piclist 2001\01\10\133338a >
Thread: yet another algorithm challange
picon face BY : Drew Vassallo email (remove spam text)

>For example, in 2X mode, '0xA1' would translate to '0xCC 0x03', or in
>6X mode, to '0xFC 0x0F 0xC0 0x00 0x00 0x3F'. I planned on implementing the
>Obviously, a full byte-in, bytes-out lookup table would be horrendously
>big and inefficient of RAM or ROM.

Interesting, because a lookup table would be only 15 lines by my
calculations for 2x mode.  1 byte returned for each nibble 0-F.  6x is
another story, 3 bytes per nibble, but maybe that could be simplified.
Maybe using the 2x table in a clever way could get you what you need for the
6x mode.  It is a neat problem.


Get your FREE download of MSN Explorer at http://explorer.msn.com

http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email .....listservspamspamBeGonemitvma.mit.edu with SET PICList DIGEST in the body


See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) yet another algorithm challange

month overview.

new search...