git.droids-corp.org
/
protos
/
xbee-avr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xbee & spi ok, only ping is not working
[protos/xbee-avr.git]
/
main.h
diff --git
a/main.h
b/main.h
index
4ed5259
..
617628e
100644
(file)
--- a/
main.h
+++ b/
main.h
@@
-30,17
+30,14
@@
/** ERROR NUMS */
#define E_USER_DEFAULT 194
/** ERROR NUMS */
#define E_USER_DEFAULT 194
-#define LED1_ON() sbi(PORT
E
, 2)
-#define LED1_OFF() cbi(PORT
E
, 2)
+#define LED1_ON() sbi(PORT
A
, 2)
+#define LED1_OFF() cbi(PORT
A
, 2)
-#define LED2_ON() sbi(PORT
E, 3
)
-#define LED2_OFF() cbi(PORT
E, 3
)
+#define LED2_ON() sbi(PORT
A, 1
)
+#define LED2_OFF() cbi(PORT
A, 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
#define LED_PRIO 170
#define TIME_PRIO 160