![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
3/4 日動作確認済み
Dependencies: ADXL345_I2C Control_Yokutan_CANver1 mbed
Fork of Control_Yokutan_CAN_dousasikenn by
Revision 15:1db5ee4fe7ce, committed 2016-03-07
- Comitter:
- taurin
- Date:
- Mon Mar 07 13:43:18 2016 +0000
- Parent:
- 14:1f6dd929d7de
- Commit message:
- 3/4????????
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 1f6dd929d7de -r 1db5ee4fe7ce main.cpp --- a/main.cpp Sat Feb 27 11:36:09 2016 +0000 +++ b/main.cpp Mon Mar 07 13:43:18 2016 +0000 @@ -11,15 +11,15 @@ #define ADXL_MEAN_NUM 10 #define SEND_DATAS_LOOP_TIME 0.1 -#define ERURON_MOVE_DEG_INI_R 55 +#define ERURON_MOVE_DEG_INI_R -12 #define DRUG_MOVE_DEG_INI_R 96 -#define ERURON_TRIM_INI_R 41 +#define ERURON_TRIM_INI_R 99 #define DRUG_TRIM_INI_R 3 -#define ERURON_MOVE_DEG_INI_L 29 +#define ERURON_MOVE_DEG_INI_L 12 #define DRUG_MOVE_DEG_INI_L 87 -#define ERURON_TRIM_INI_L 79 -#define DRUG_TRIM_INI_L 92 +#define ERURON_TRIM_INI_L 101 +#define DRUG_TRIM_INI_L 12 CAN can(p30,p29); CANMessage recmsg; @@ -95,7 +95,7 @@ } void init(){ - if(LRstatePin){ + if(!LRstatePin){ eruronTrim = ERURON_TRIM_INI_L; drugTrim = DRUG_TRIM_INI_L; eruronMoveDeg = ERURON_MOVE_DEG_INI_L;