|
Re: Purpose of the _SIMULATOR macro?
MPLAB has a simulator built in that allows you to run or step through your code as it executes without the RC. The _SIMULATOR tells the compiler to skip over portions of the code that would normally be supplied by the RC but impede the simulation. Specifically, the section of code that waits for radio packets to arrive.
Try a search on _SIMULATOR to find other discussions about MPLABs simulator.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
|