Hi, Roger
just open PbPic14.lib and look at ALL ADCIN does ... plus the DEFINE ADC SAMPLEUS @ 50µs ...
Don't cry, Roger ... we love you !!!
Alain
Hi, Roger
just open PbPic14.lib and look at ALL ADCIN does ... plus the DEFINE ADC SAMPLEUS @ 50µs ...
Don't cry, Roger ... we love you !!!
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
I love myself too!
I knew the fish was somewhere...
Cool and thanks again.
Alain, I hope you'll still have a good sleep after my annoying questions....![]()
Roger
Read the help file on ADCIN. There is a define that sets the acquisition time (not conversion time), and the default is very long.
If you want fast code, do it all manually so you do not have to delay (doing nothing) during acquisition, but instead, perform math or some other task while that cap charges.
Bookmarks