Miya Miyagawa
/
OREWOTAOSITAI
aaaaa
Diff: System/Initialize/Initialize.cpp
- Revision:
- 0:562021ed1ba9
diff -r 000000000000 -r 562021ed1ba9 System/Initialize/Initialize.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/System/Initialize/Initialize.cpp Sat Jan 13 13:33:09 2018 +0000 @@ -0,0 +1,16 @@ +#include "Initialize.h" + +#include "mbed.h" +#include "../../Communication/XBee/XBee.h" +#include "../../Input/Switch/Switch.h" +#include ".././Output/Motor/Motor.h" + +void SystemInitialize(void) { + XBEE::Controller::Initialize(); + SWITCH::Switch::Initialize(); + MOTOR::Motor::Initialize(); + + //割り込み許可 + __enable_irq(); +} +