hi all. first time i've used this so forgive me if i stray form protocol.
i'm using a 16f877 and wish to read the a/d pin RA0. Initially i'll just connect the wiper of a preset varying from 0-5v just to test that it works. After conversion the result will be fed to an lcd display. My question is, can anyone help me with the code. It needs to be pi c(or wiz c) as it will be incorporated in an existing program.
Many thanks
Handel
i'm using a 16f877 and wish to read the a/d pin RA0. Initially i'll just connect the wiper of a preset varying from 0-5v just to test that it works. After conversion the result will be fed to an lcd display. My question is, can anyone help me with the code. It needs to be pi c(or wiz c) as it will be incorporated in an existing program.
Many thanks
Handel