Bruce,

Would you mind posting all of your ADC code, i am getting errors. I've had a look, but can't figure it out.

The code posted above seems to be missing the DoUSBIn and DoUSBOut subroutines.

I also get an error on the DataBuffer(1) = "."

I want to use it as a 5v voltage monitor passing the results to Vb.

Many thanks,

Steve