rainbow

Dependencies:   mbed FastPWM

Files at this revision

API Documentation at this revision

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) {