eabir
Joined: 16 Aug 2010 Posts: 19
|
ADC voltage input follower |
Posted: Thu Oct 27, 2011 11:41 pm |
|
|
Hi,
I'm feeding PIC10F222 ADC input with increasing voltage.
What is the correct way to make sure, that the voltage is really increase in code ?
For example: input voltage in first sample is 1volts, two seconds later the input is 2volts, etc. but if after the two seconds the voltage is less then the first sample (here is 1volts) then do something..
I'm looking for elegant way to coding it.
Last edited by eabir on Fri Oct 28, 2011 2:30 pm; edited 1 time in total |
|