Jorjel reacted to dubnet in ADC problems or code problems? Please help !
Posting your code would be helpful since it looks like that is where the problem may reside.
Also, you may want to check this post for additonal information to include: http://forum.43oh.com/topic/4824-information-to-provide-when-asking-for-help/
Having all the information greatly increases the possiblity that someone can identify the problem and provide the assistance you are looking for.