View Single Post
  #2   Spotlight this post!  
Unread 14-01-2006, 19:07
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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