> Does anyone have a routine for 10 bits ? > > ("000"-"3FF" -> 0, 0, 0, 0 - 1, 0, 2, 3) In the relatively rare cases where I had to have the PIC itself convert to decimal, I've just done successive divides by 10. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu