Well where you start lets see how would we know, you didn't say what your using C Basic or ASM.
Next from no delay to how long would be nice to know.
And last how you want to change it would be nice.
But you can do it like this varD hold any number you want take a ADC pin with a pot that gives you 1024 steps from varD use the pot to lower or increase varD then cast that to your delay function.
Well where you start lets see how would we know, you didn't say what your using C Basic or ASM.
Next from no delay to how long would be nice to know.
And last how you want to change it would be nice.
But you can do it like this varD hold any number you want take a ADC pin with a pot that gives you 1024 steps from varD use the pot to lower or increase varD then cast that to your delay function.
Check my PIC tutorials - most of them include simply delay routines using nested loops.
If you also check the PICList there's a 'delay code generator', which generates the delay code for you - so you could generate a delay of (say) 100mS, and then call that the number of times you want for your specific delay.
check my pic tutorials - most of them include simply delay routines using nested loops.
If you also check the piclist there's a 'delay code generator', which generates the delay code for you - so you could generate a delay of (say) 100ms, and then call that the number of times you want for your specific delay.