Also, is it possible to use LATCH instead or PORTx.x in PBP? How would you use the LATCH register?
Also, is it possible to use LATCH instead or PORTx.x in PBP? How would you use the LATCH register?
"No one is completely worthless. They can always serve as a bad example."
Anonymous
yes it's not the most thrilling video but it does explain the issue in easy to understand terms.
is it possible to use LATCH instead or PORTx.x in PBP?
pretty easy for chips with LAT regs
in your case
LATA.0 =1
LATA.1 =1
note LAT(X) cannot be used with compound commands THAT auto set TRIS regs like SERIN,I2CIN,TOGGLE etc
Warning I'm not a teacher
Thanks Richard. That helps a lot.
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Bookmarks