BLDC motor driver
Dependencies: mbed-dev-f303 FastPWM3
Diff: CAN/CAN_com.h
- Revision:
- 42:738fa01b0346
- Child:
- 47:e1196a851f76
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CAN/CAN_com.h Fri May 25 15:16:42 2018 +0000 @@ -0,0 +1,13 @@ +#ifndef CAN_COM_H +#define CAN_COM_H + +#include "structs.h" +#include "user_config.h" +#include "mbed.h" +#include "math_ops.h" + +void pack_reply(CANMessage *msg, float p, float v, float t); +void unpack_cmd(CANMessage msg, ControllerStruct * controller); + + +#endif \ No newline at end of file