> What is the point in ADC if you can't use floating point? The 16F88 > has ADC but even Microchip's C compiler will not work for it. I don't > see how ADC can be useful without a multiply and divide instruction to > calculate the actual voltage value from the 10 bit representation. > Thanks! Perhaps you should give us some figures for what a step on your ADC represents. As others have pointed out, fixed point arithmetic should be more than adequate. However the other item I do wonder is what value of reference voltage you are using. It does help to use a reference that makes the calculation easy. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist