> >sin/cos/tan/arcsin/arccos/arctan? > > If it gets more complex than a square root, I generally use a C > compiler. I've not seen the advantage in getting into CORDIC or > LUTs for this yet, not that it's any great problem. I would recommend reading Jack Crenshaw's "Math toolkit for real- time programming". The title and chapter summary make it sound like it would be at a higher level than would be appropriate for 8 bit microcontrollers, but how he goes about deriving methods is very appropriate. It's also a pretty easy read for a math book. Steve. ====================================================== Steve Baldwin Electronic Product Design TLA Microsystems Ltd Microcontroller Specialists PO Box 15-680, New Lynn http://www.tla.co.nz Auckland, New Zealand ph +64 9 820-2221 email: steveb@tla.co.nz fax +64 9 820-1929 ====================================================== -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads