Software: Pitfalls!
-
Make sure you always set the
-
correct BANK bits!
-
bsf STATUS, RP0
-
clrf TRISA
-
bcf STATUS, RPO
-
is correct; but if you just do
-
clrf TRISA
-
you’ll actually execute:
-
clrf PORTA
Previous slide | Next slide | Back to first slide | View graphic version |