Hello Unregistered ,
PORTB.5 on the 16F689 is analog at power up. Place ANSELH=0 in the top section of your code to disable A/D on this pin.
Regards, -Bruce tech at rentron.com http://www.rentron.com
Dear Bruce Thanks for your help! Regards, Jesús Baez
Forum Rules
Bookmarks