にいむら にいむら
/
mainboardnrp2018
unkounko
Diff: System/Process/Process.cpp
- Revision:
- 8:cb53beff4bb2
- Parent:
- 7:f4252ddc480d
- Child:
- 9:ec30ae33cc9e
diff -r f4252ddc480d -r cb53beff4bb2 System/Process/Process.cpp --- a/System/Process/Process.cpp Sat Jan 27 05:29:03 2018 +0000 +++ b/System/Process/Process.cpp Sat Feb 24 07:32:11 2018 +0000 @@ -1,4 +1,4 @@ -//2018/01/26のやつ +//2018/02/24のやつ #include "Process.h" @@ -6,6 +6,8 @@ #include "../../Communication/XBee/XBee.h" #include "../../Input/Switch/Switch.h" #include "../../Output/Motor/Motor.h" +#include "../../Output/Servo/Servo.h" + //_____________________ /*---------------- HOW TO WRITE ----------------/ @@ -24,13 +26,10 @@ - - - //↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ //_____________________ -// #define USE_USB_SERIAL +//#define USE_USB_SERIAL #ifdef USE_USB_SERIAL Serial pc(SERIAL_TX, SERIAL_RX); #endif @@ -39,7 +38,7 @@ using namespace SWITCH; -void SystemProcess(void) { +void SystemProcess(void) { while(true) { controller = XBEE::Controller::GetData(); //____________________________ @@ -99,9 +98,6 @@ - - - //↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ //____________________________