Coordinator v2
Dependencies: NerfUSXbee PinDetect EthernetInterface JSON MFRC522 WebSocketClient mbed-rtos mbed
Diff: main.cpp
- Revision:
- 3:501120a68c11
- Parent:
- 2:019d8848cf7e
diff -r 019d8848cf7e -r 501120a68c11 main.cpp --- a/main.cpp Tue Apr 11 12:40:05 2017 -0400 +++ b/main.cpp Tue Apr 11 15:53:20 2017 -0400 @@ -24,15 +24,15 @@ RealXbeeReceiver xbeeReceiver; xbeeReceiver.start(&dispatch_event_from_target); - // //Btn interupts + //Btn interupts BtnHandler startBtn(p21, "start"); BtnHandler nextBtn(p22, "navigate", "next"); BtnHandler previousBtn(p23, "navigate", "previous"); //Creating the targets with their 64 bits address - //Bruno/Max Router - gameCoordinator.targets.push_back(Target(0x0013A200, 0x4086DA0E, 0)); - gameCoordinator.targets.push_back(Target(0x0013A200, 0x4086DA0E, 1)); + //Bruno/Max Router - Brisé + // gameCoordinator.targets.push_back(Target(0x0013A200, 0x4086DA0E, 0)); + // gameCoordinator.targets.push_back(Target(0x0013A200, 0x4086DA0E, 1)); //Routeur antenne gameCoordinator.targets.push_back(Target(0x0013A200, 0x408B419E, 0)); @@ -42,7 +42,6 @@ gameCoordinator.targets.push_back(Target(0x0013A200, 0x4033198C, 1)); gameCoordinator.on_game_finish = &websocket_message_send; - //TODO: more targets Rfid rfid(p5, p6, p7, p28, p27);