> I'm pretty sure this table is right. And what I often do is write a little C program which I compile on my PC that I use to generate source code for tables like this (or CRC lookups etc). I typically include the C program #if 0'd out in my source file that uses it as a way of documenting how the table was actually created. If you don't want to use 256 bytes for the lookup table, you could also do a pair of (or a single) 16 byte lookup table which flipped 4 bits. Now you have a pretty wide execution time/space tradeoff and you can picks what's appropriate for your project. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/
Message
Re: [AVR-Chat] Challenge
2005-06-08 by Dave Hylands
Attachments
- No local attachments were found for this message.