Hi,

USING the internal reference is more than possible ... but READING it looks a bit strange

Why would you use Darrel's routine for such a job ???

Have a look to my last post http://www.picbasic.co.uk/forum/show...020#post117020 ... it' purpose is to read the supply voltage of the chip !!!

Alain