Hi,
How about:
Code:
ADResult = ADResult * 10
DelayInMicroSeconds = 1000 + (ADResult */ 100)
PortB.0 = 1
PauseUs DelayInMicroSeconds
PortB.0 = 0
When ADResult is 0 DelayInMicroSeconds is 1000 (1ms), when ADResult is 128 you'll get 1000 + (1280 * 100 / 256) = 1500 and when ADresult is 255 DelayInMicroSeconds is 1000 + (2550 * 100 / 256) = 1996.

It's not perfect but hopefully good enough.

/Henrik.