first thing to understand why it doesn't work, is to open the datasheet and look what the 628 have that the 84 don't.
Now you discover that the F628 it have analog comparator on PORTA. WOOOOHOOO, but it doesn't solve the problem yet.
Before using those pins as regular i/o, you need to set them as digital.
Find the Analog comparator section in the datasheet, and look the CMCON settings.
Now you understand that you'll need to use...
at the top of your code.
HTH
EDIT: oups, i'm late
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks