temtronic
Joined: 01 Jul 2010 Posts: 9246 Location: Greensville,Ontario
|
|
Posted: Tue Jul 10, 2012 5:53 am |
|
|
Without seeing your code or schematic it is very,very difficult to tell you exactly where the problem is..
...you should supply us with more information.
hardware...although you say you're getting the correct values from 0 -4 VDC there might be an issue...
software...I don't use that chip but is it 8 bit,10 bit,12 bit ADC ?
What is the ADC result variable declared as?
If >8bit do you correctly read both high and low bytes of data,then 'make' into the proper word.
Perhaps you're not setting up the ADC chip right, slecting 8 bit mode when you want 12 bit mode?
Display of data may be formatted wrong..
Again, without seeing your code it is hard to say what your error is.
hth
jay |
|