]> git.droids-corp.org - protos/xbee-avr.git/blobdiff - main.h
xbee & spi ok, only ping is not working
[protos/xbee-avr.git] / main.h
diff --git a/main.h b/main.h
index 4ed5259d85bac22aa1612f23ab51e925434a585e..617628e922ac47f1659a15dbc24f620bf25683a0 100644 (file)
--- a/main.h
+++ b/main.h
 /** ERROR NUMS */
 #define E_USER_DEFAULT           194
 
-#define LED1_ON()       sbi(PORTE, 2)
-#define LED1_OFF()      cbi(PORTE, 2)
+#define LED1_ON()       sbi(PORTA, 2)
+#define LED1_OFF()      cbi(PORTA, 2)
 
-#define LED2_ON()       sbi(PORTE, 3)
-#define LED2_OFF()      cbi(PORTE, 3)
+#define LED2_ON()       sbi(PORTA, 1)
+#define LED2_OFF()      cbi(PORTA, 1)
 
-#define LED3_ON()       sbi(PORTB, 3)
-#define LED3_OFF()      cbi(PORTB, 3)
-
-#define LED4_ON()       sbi(PORTB, 4)
-#define LED4_OFF()      cbi(PORTB, 4)
+#define LED3_ON()       sbi(PORTA, 0)
+#define LED3_OFF()      cbi(PORTA, 0)
 
 #define LED_PRIO           170
 #define TIME_PRIO          160