PORTB is already define but leads you to Register addr 6... wich is unimplemented on this PIC
PORTA is assign to register addr 5, wich is GPIO
in the above, if you replace GPIO by PORTA, it will work.
Not a good practice but...
PORTB is already define but leads you to Register addr 6... wich is unimplemented on this PIC
PORTA is assign to register addr 5, wich is GPIO
in the above, if you replace GPIO by PORTA, it will work.
Not a good practice but...
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks