Rich Thompson

Newbie - definition watch and delay

Discussion created by Rich Thompson on Jun 19, 2006
Latest reply on Jun 20, 2006 by Rich Thompson
I've just got myself a demo9s08qg8 board and it looks just dandy, I'm having a couple of problems though and wondered if someone could help?
I've got some definitions set up such as;
#define SW1 PTAD_PTAD2
so I can refer to SW1 which works fine, but how can I watch this while debugging? Seems it won't let me add user definitions to the data watch window?
Also, I just set up a simple delay function for roughly 500mS.  Is there a trace time function in CW or some way of setting the delay exactly? 
sorry for the dumb questions