Modified Motor Driver Firmware to include Flash + Thermal

Dependencies:   FastPWM3 mbed-dev-STM-lean

CAN/CAN_com.h

Committer:
saloutos
Date:
2020-11-02
Revision:
59:9d39f37e1c7b
Parent:
47:e1196a851f76
Child:
63:10604c39666f

File content as of revision 59:9d39f37e1c7b:

#ifndef CAN_COM_H
#define CAN_COM_H

//#include "mbed.h"
#include "../structs.h"
#include "user_config.h"
#include "../math_ops.h"

void pack_reply(CANMessage *msg, float p, float v, float t);
void unpack_cmd(CANMessage msg, ControllerStruct * controller);

#endif