I am using a PIC 18LF8720. CCS compiler PCWH ver 3.206.
My code periodically checks the value of two variables and sets a flag if they are not equal. The flag is declared as int1. The symbol table indicates it is bit 2 of address A7. There is a random error occurring where the flag is getting set when it shouldn’t. As part of troubleshooting I want to read the value of address A7 before and after the flag is set to make sure the bit is not inadvertently set before the flag is checked. How would I read a specific RAM address?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum