![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
for learning
Diff: main.cpp
- Revision:
- 200:666d961bbac6
- Parent:
- 191:9ca80cca68e3
--- 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) {