classic RMW read modify write
watch this
http://www.microchip.com/webinars.mi...cName=en556253
click on
View streaming media version:
classic RMW read modify write
watch this
http://www.microchip.com/webinars.mi...cName=en556253
click on
View streaming media version:
Warning I'm not a teacher
Richard, wow I wasn't aware of this issue. Check out the following article. It explains in detail exactly what happened in my code.
https://download.mikroe.com/document...c/help/rmw.htm
"No one is completely worthless. They can always serve as a bad example."
Anonymous
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