PDA

View Full Version : Pic 16 F628A pulsein Problem



turkuaz
- 27th February 2009, 10:46
Hi.
I use pic 16 F84 and programmed it. And it works nice but ı want to use same code in F628 . I use PortA.0 as analog input to get pulse from ...Code work nice in F84 but in F628 do not work properly. I can not read pulse from PortA.0
I did necessary cahanging as below:
CMCON = 7
VRCON =0
TRISA=0
INPUT PORTB.0
INPUT PORTA.0

But I can not read pulse.
Will you help me?.
Thanks.