Hi,
Hamid_Night ... all forums are grey , hey ???
Did you notice, in the fog, it is PicBasicPro Forum, here???
To answer your question ...
How do you want to scan @ 500 Hz with a 2 millisec. pause, PLUS HSerout (?), PLUS sampling ADC Time, PLUS adc converting time, PLUS ... ???
Ok, ... I stop joking
use TMR0, 8 or 16 bits ... preload it to .... ??? ( 63 543 @ 4Mhz )
Arrrggggh ... don't know YOUR clock freq !!!!
a TMRO interrupt will occur every 2 ms ...
just launch conversion, then ...
Alain
PS: what is proton ??? does proton even exist ??? Hope it is a free compiler - ROFL !
Last edited by Acetronics2; - 24th November 2009 at 12:27.
************************************************** ***********************
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 " !!!
*****************************************
Bookmarks