Wiblocks --- LED_debug

LED_debug/LED_debug.h

00001 #ifndef __LED_DEBUG_H__
00002 #define __LED_DEBUG_H__
00003 
00004 #define ZB1_LED_PIN   7  //PD7
00005 #define NB1_LED_PIN   7  //PD7
00006 #define NB1A_LED_PIN  7  //PD7
00007 #define NB2A_LED_PIN  15 //PD7 (Sanguino, ATmega644)
00008 
00009 class LED_debug {
00010   unsigned char _pin;
00011  public:
00012   static const unsigned char _on_delay  = 75;
00013   static const unsigned char _off_delay = 75;
00014   LED_debug(unsigned char pin = 7);
00015   void blink(unsigned char num_times);
00016 };
00017 
00018 #endif