/* $Id: pgXmplDbg.html,v 1.1.1.4 2013/04/09 21:12:04 awachtler Exp $ */ /* Example for use of the DBG_XXX macros */ #include "board.h" #include "xmpl.h" int main(void) { DBG_INIT(); /* the debug port pin should now have the level 0 */ DBG_SET(); /* the debug port pin should now have the level 1 */ DBG_CLR(); /* the debug port pin should now have again the level 0 */ while(1) { DBG_TOGGLE(); DELAY_MS(10); /* now 1-0-1 sequence should be observed with a period of 10ms */ } } /* EOF */