#define MOTOR_DRIVE_VERSION 6 ↓ #define MOTOR_DRIVE_VERSION 5 TIMEOUT_VALUE 1.0f ↓ TIMEOUT_VALUE 10.0f ↓

Dependencies:   mbed can_network_definition_2022 bitCommunication_Ver2 motorDrive_LAP PID QEI_hw LPC1549QEI LPC1549_EEPROM motorDrive_SMB MedianFilter2020 buzzer USBDevice

Revision:
6:a3efeb48498a
Parent:
5:58c684e2ee47
Child:
7:b91354ec59bd
--- a/main.cpp	Fri Jul 16 23:41:17 2021 +0000
+++ b/main.cpp	Sun Oct 17 07:41:21 2021 +0000
@@ -184,9 +184,9 @@
         pc.printf("TIME:%f",errorTimer.read());
         pc.printf("\r\n");
     } else {
-        pc.printf("%f",targetRpm);
+        pc.printf("%f,",targetRpm);
         pc.printf("%f,",/*encoder.getRPM()*/rpm);
-        pc.printf(",%f",outputDuty);
+        pc.printf("%f",outputDuty);
         pc.printf("\r\n");
     }
 }