Sungwoo Kim
/
HydraulicControlBoard_Rainbow_v1_2
rainbow
Revision 200:666d961bbac6, committed 2020-12-21
- Comitter:
- Lightvalve
- Date:
- Mon Dec 21 01:19:27 2020 +0000
- Parent:
- 191:9ca80cca68e3
- Commit message:
- 201221-1
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Dec 18 00:58:54 2020 +0000 +++ b/main.cpp Mon Dec 21 01:19:27 2020 +0000 @@ -1,4 +1,4 @@ -//201218_1 +//201221_1 #include "mbed.h" #include "FastPWM.h" #include "INIT_HW.h" @@ -2831,7 +2831,7 @@ if (flag_data_request[3] == HIGH) { //PWM //CAN_TX_PWM((int16_t) (V[0]*100.0f)); //1500 - CAN_TX_PWM((int16_t) (torq.ref)); //1500 + CAN_TX_PWM((int16_t) (f_future[0])); //1500 } if (flag_data_request[4] == HIGH) {