busted.....
busted.....
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
So to summarize 'in speak' that won't scare folks who thought if/then statements were an uinsurmountable hurdle.....are we saying that using the ADCIN is not optimum...and if not could someone please post a chunk of code to do this in an alternative method?
Dave
Always wear safety glasses while programming.
Excellent.....many thanks, I shall use that code gratuitously.
Have you tested this fast averaging with Hysterisis by Darrel:
http://www.picbasic.co.uk/forum/cont...ith-hysteresis
Ioannis
Yes I have (& very good it is too) , but I'd rather have this jittery AtoD values 'cleaned up' at the source (rather than putting averaging in place to address unstability caused by avoidable factors)
Just include an RC filter on the A/D input, and put the PIC to sleep just before enabling the A/D conversion. This returns very stable readings in most applications with a stable power supply or Vref.
Bookmarks