This is for our FYDP project. 2 MPU6050s are used
drivers/RF_Network/RF_node.h@4:05484073a641, 2015-03-22 (annotated)
- Committer:
- majik
- Date:
- Sun Mar 22 06:34:30 2015 +0000
- Revision:
- 4:05484073a641
- Parent:
- 0:21019d94ad33
BOTH IMUs WORK NOW. Put them in separate threads. Servo is included.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
majik | 0:21019d94ad33 | 1 | #ifndef RF_node_H |
majik | 0:21019d94ad33 | 2 | #define RF_node_H |
majik | 0:21019d94ad33 | 3 | |
majik | 0:21019d94ad33 | 4 | //The following are used for the RF communication devices |
majik | 0:21019d94ad33 | 5 | #define ROBOT_ADDRESS ((unsigned long long) 0xE7E7E7E7E7 )//in pipe 0 //use this as the general receive address for ALL robots |
majik | 0:21019d94ad33 | 6 | #define ROBOT1_ADDRESS ((unsigned long long) 0xC2C2C2C2C2 )//in pipe 1 |
majik | 0:21019d94ad33 | 7 | #define ROBOT2_ADDRESS ((unsigned long long) 0xC2C2C2C2C3)//in pipe 2 |
majik | 0:21019d94ad33 | 8 | #define ADDRESS_WIDTH 4 |
majik | 0:21019d94ad33 | 9 | |
majik | 0:21019d94ad33 | 10 | |
majik | 0:21019d94ad33 | 11 | |
majik | 0:21019d94ad33 | 12 | #endif |