a) instead of trying to imagine the possible combinations,
I would go and program it !
b) if you "select" Port A mode, why don't you specify the Port B mode of operation ?
It is NOT so large and difficult ...
c) if you say "HIGH PORTB.7" it means you write some data into the port,
not that you somehow are telling the compiler to configure it for you.
Let's do it and let's talk again. Ramon.
Bookmarks