Hi guys,
I have tried searching for similar problems to this, but couldn't find anything.
I have set up ADC on my Teensy 2.0 using C and the simple readADC code on the website, and weird things are happening. It looks like the Teensy is unable to return values between certain numbers from readADC. For example, the ADC will read (as I increase voltage) 0, 1, 3, 32, 48, 56. Instead of going up steadily, in regular increments.
What's weird is that the change in voltage required from one value to the next is correct (i.e. the change from 0->1 is tiny, and from 3->32 takes a much larger change in voltage).
Its as if the Teensy gets 'stuck' on the value 3 (and its always the same number), and cant return any values until the input is high enough to return 32.
I have checked my input voltage with a multimeter, and it is definitely going up smoothly during this process.
I am really lost for what might be causing this. Any help is appreciated.
I have tried searching for similar problems to this, but couldn't find anything.
I have set up ADC on my Teensy 2.0 using C and the simple readADC code on the website, and weird things are happening. It looks like the Teensy is unable to return values between certain numbers from readADC. For example, the ADC will read (as I increase voltage) 0, 1, 3, 32, 48, 56. Instead of going up steadily, in regular increments.
What's weird is that the change in voltage required from one value to the next is correct (i.e. the change from 0->1 is tiny, and from 3->32 takes a much larger change in voltage).
Its as if the Teensy gets 'stuck' on the value 3 (and its always the same number), and cant return any values until the input is high enough to return 32.
I have checked my input voltage with a multimeter, and it is definitely going up smoothly during this process.
I am really lost for what might be causing this. Any help is appreciated.