Modified Motor Driver Firmware to include Flash + Thermal
Dependencies: FastPWM3 mbed-dev-STM-lean
Diff: main.cpp
- Revision:
- 74:fcc5f8e7f0ef
- Parent:
- 73:5676f1232a81
- Child:
- 75:c7fbacd92b8f
--- a/main.cpp Mon Aug 29 16:03:54 2022 +0000 +++ b/main.cpp Mon Aug 29 18:09:36 2022 +0000 @@ -161,13 +161,13 @@ //ACTUATOR PARAMS printf("ACTUATOR PARAMS\n\r"); wait_us(10); - printf(" %-4s %-31s %-5s %-6s %f\n\r", "p", "Torque Constance Nm/peak phase amp", "0", "1.0", KT); + printf(" %-4s %-31s %-5s %-6s %f\n\r", "p", "Torque Constance Nm/amp", "0", "1.0", KT); wait_us(10); printf(" %-4s %-31s %-5s %-6s %.1f\n\r", "g", "Module Gear Ratio", "0", "20.0", GR); wait_us(10); printf(" %-4s %-31s %-5s %-6s %.2f\n\r", "k", "KT*GR", "0", "20.0", KT_OUT); wait_us(10); - printf(" %-4s %-31s %-5s %-6s %f\n\r", "w", "Flux Linkage from KT = = WB*NPP*3/2", "0", "1.0", WB); + printf(" %-4s %-31s %-5s %-6s %f\n\r", "w", "KT = WB*NPP*3/2", "0", "1.0", WB); wait_us(10); //THERMAL PARAMS printf("THERMAL PARAMS\n\r");