00001 00002 00003 #ifndef _DEBUG_H 00004 #define _DEBUG_H 00005 00006 #include <progmem.h> 00007 #include "global.h" 00008 00009 #define DEBUG_MODE_LCD 0x01 00010 #define DEBUG_MODE_SERIAL 0x02 00011 #define DEBUG_MODE_OSC 0x04 00012 00013 void debugInitLCD(u08 x, u08 y); 00014 00015 void debugInitOSC(void); 00016 00017 void debug(const char * fmt); 00018 00019 void debugFlash(u08 port, u08 pin); 00020 00021 #endif 00022