6/8 操舵中央 ピッチ操作追加版
Dependencies: mbed
Fork of Souda_Main_ver3 by
Revision 6:7484315ba88a, committed 2016-03-18
- Comitter:
- taurin
- Date:
- Fri Mar 18 06:16:21 2016 +0000
- Parent:
- 5:6b74fa61198e
- Commit message:
- 3/18 ????;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 6b74fa61198e -r 7484315ba88a main.cpp --- a/main.cpp Thu Feb 25 09:13:08 2016 +0000 +++ b/main.cpp Fri Mar 18 06:16:21 2016 +0000 @@ -5,18 +5,18 @@ #define YOKUTAN_DATAS_NUM 4 #define IMPUT_DATAS_NUM 2 #define SEND_DATAS_CAN_ID 100 -#define SEND_DATAS_TIME 0.5 +#define SEND_DATAS_TIME 0.1 #define THRESHOLD_OH_VALUE 0.14 #define CALC_CADENCE_TIME 0.05 -CAN can_R(p9,p10); -CAN can_L(p30,p29); +CAN can_R(p30,p29); +CAN can_L(p9,p10); Serial toKeikiSerial(p13,p14); Serial pc(USBTX,USBRX); -DigitalIn eruron_R(p23); -DigitalIn eruron_L(p19); -DigitalIn drug_R(p22); -DigitalIn drug_L(p20); +DigitalIn eruron_R(p22); +DigitalIn eruron_L(p20); +DigitalIn drug_R(p23); +DigitalIn drug_L(p19); DigitalOut myled1(LED1); DigitalOut myled2(LED2); Ticker sendDatasTicker;