First you're going to incur the wrath of the more vituperative= ones amongst the list as your reply setting is not back to the PICLIST= but to your own address. I think what you need is a look at Bob Ammermans and Roman Blacks= 24 bit code that is in the archives. I have posted somewhere (haven't the faintest idea where on the= list) some C code using the algorithm. I can email this to you, though it won't be in C2C but AFAIR it should be easy to convert it. Or you can wait with bated breath ,because it will be on the competition site (hopefully) once I get off my butt and design= the PCB. Colin -- cdb, bodgy1@optusnet.com.au on 15/09/2002 -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads