akm
Dependents: aigamozu_program_ver2 aigamozu_program_ver2_yokokawa aigamozu_auto_ver1 aigamozu_auto_ver2 ... more
agzIDLIST.h
- Committer:
- s1200058
- Date:
- 2017-06-01
- Revision:
- 25:d4bc208116c5
- Parent:
- 24:cf7d54d395de
File content as of revision 25:d4bc208116c5:
#include "mbed.h" //////////// //Bases //////////// //BASE 1 #define BASE_NUM 12 #define BASE1_32H 0x0013A200 #define BASE1_32L 0x4099371F //BASE 2 #define BASE2_32H 0x0013A200 #define BASE2_32L 0x40993720 //BASE 3 #define BASE3_32H 0x0013A200 #define BASE3_32L 0x40993706 //BASE 4 #define BASE4_32H 0x0013A200 #define BASE4_32L 0x40CACD61 //BASE 5 #define BASE5_32H 0x0013A200 #define BASE5_32L 0x409935B5 //BASE 6 #define BASE6_32H 0x0013A200 #define BASE6_32L 0x40993784 //BASE 7 #define BASE7_32H 0x0013A200 #define BASE7_32L 0x40993757 //BASE 8 #define BASE8_32H 0x0013A200 #define BASE8_32L 0x40993700 //BASE 9 #define BASE9_32H 0x0013A200 #define BASE9_32L 0x40CACD51 //BASE 10 #define BASE10_32H 0x0013A200 #define BASE10_32L 0x40CACCD8 //BASE 11 → 4 #define BASE11_32H 0x0013A200 #define BASE11_32L 0x40CACD61 //BASE 12 #define BASE12_32H 0x0013A200 #define BASE12_32L 0x40993718 //////////////// //robot //////////////// //ROBOT 1 #define PAN_NUM 15 #define PAN1_SH 0x0013a200 #define PAN1_SL 0x40993787 //ROBOT 2 #define PAN2_SH 0x0013a200 #define PAN2_SL 0x4099371a //ROBOT 3 #define PAN3_SH 0x0013a200 #define PAN3_SL 0x409936ff //ROBOT 4 #define PAN4_SH 0x0013a200 #define PAN4_SL 0x40993704 //ROBOT 5 #define PAN5_SH 0x0013a200 #define PAN5_SL 0x409eaef7 //ROBOT 6 #define PAN6_SH 0x0013a200 #define PAN6_SL 0x40993703 //ROBOT 7 #define PAN7_SH 0x0013a200 #define PAN7_SL 0x40993701 //ROBOT 8 #define PAN8_SH 0x0013a200 #define PAN8_SL 0x40993716 //ROBOT 9 #define PAN9_SH 0x0013a200 #define PAN9_SL 0x40993715 //ROBOT 10 #define PAN10_SH 0x0013a200 #define PAN10_SL 0x40993708 //ROBOT 11 #define PAN11_SH 0x0013a200 #define PAN11_SL 0x4099377a //ROBOT 12 #define PAN12_SH 0x0013a200 #define PAN12_SL 0x40993707 //ROBOT 13 #define PAN13_SH 0x0013a200 #define PAN13_SL 0x40993709 //ROBOT 14 #define PAN14_SH 0x0013a200 #define PAN14_SL 0x40993713 //ROBOT 15 #define PAN15_SH 0x0013a200 #define PAN15_SL 0x40993717 //MANAGER #define MANAGER_NUM 1 #define MANAGER_32H 0x0013A200 #define MANAGER_32L 0x409EAEF5 ///////////////////////////////////////// // //Address List // ///////////////////////////////////////// XBeeAddress64 base_Address[BASE_NUM] = {XBeeAddress64(BASE1_32H,BASE1_32L), XBeeAddress64(BASE2_32H,BASE2_32L), XBeeAddress64(BASE3_32H,BASE3_32L), XBeeAddress64(BASE4_32H,BASE4_32L), XBeeAddress64(BASE5_32H,BASE5_32L), XBeeAddress64(BASE6_32H,BASE6_32L), XBeeAddress64(BASE7_32H,BASE7_32L), XBeeAddress64(BASE8_32H,BASE8_32L), XBeeAddress64(BASE9_32H,BASE9_32L), XBeeAddress64(BASE10_32H,BASE10_32L), XBeeAddress64(BASE11_32H,BASE11_32L), XBeeAddress64(BASE12_32H,BASE12_32L)}; XBeeAddress64 robot_Address[PAN_NUM] = {XBeeAddress64(PAN1_SH,PAN1_SL), XBeeAddress64(PAN2_SH,PAN2_SL), XBeeAddress64(PAN3_SH,PAN3_SL), XBeeAddress64(PAN4_SH,PAN4_SL), XBeeAddress64(PAN5_SH,PAN5_SL),XBeeAddress64(PAN6_SH,PAN6_SL), XBeeAddress64(PAN7_SH,PAN7_SL), XBeeAddress64(PAN8_SH,PAN8_SL), XBeeAddress64(PAN9_SH,PAN9_SL), XBeeAddress64(PAN10_SH,PAN10_SL), XBeeAddress64(PAN11_SH,PAN11_SL),XBeeAddress64(PAN12_SH,PAN12_SL), XBeeAddress64(PAN13_SH,PAN13_SL), XBeeAddress64(PAN14_SH,PAN14_SL), XBeeAddress64(PAN15_SH,PAN15_SL)}; XBeeAddress64 manager_Address = XBeeAddress64(MANAGER_32H, MANAGER_32L); //AigamoRobots