> No, that4s not the problem.....after the A/D- > conversion I make a type cast > from "integer" to "float". And if I try to show at > first the value of the > variable "voltage_HB1" on the display and then the > value of "voltage_HB2", > then I get the right values for both A/D- channels. Since A/D results are integer, could you explain why you need to make them 'float' to compare and display them? __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics