Revision 198
Recharging updated.
xbee.h | ||
---|---|---|
10 | 10 |
* @author Brian Coltin, Colony Project, CMU Robotics Club |
11 | 11 |
**/ |
12 | 12 |
|
13 |
#ifndef XBEE_H |
|
14 |
#define XBEE_H |
|
15 |
|
|
13 | 16 |
/** |
14 | 17 |
* The port to use the XBee from on the computer. |
15 | 18 |
* Also, a backup port if the other is used. |
16 | 19 |
**/ |
17 | 20 |
#ifndef ROBOT |
18 | 21 |
#ifndef XBEE_PORT |
19 |
#define XBEE_PORT "/dev/ttyUSB0"
|
|
22 |
#define XBEE_PORT "/dev/ttyUSB1"
|
|
20 | 23 |
#endif |
21 |
#define XBEE_PORT2 "/dev/tty/USB1"
|
|
24 |
#define XBEE_PORT2 "/dev/ttyUSB0"
|
|
22 | 25 |
#endif |
23 | 26 |
|
24 | 27 |
/** |
... | ... | |
70 | 73 |
|
71 | 74 |
/**@}**/ //end defgroup |
72 | 75 |
|
76 |
#endif |
Also available in: Unified diff