|
Post by touchaction on Jul 19, 2019 7:38:40 GMT
I need help...... please tell me in detail about that problem
|
|
sinai1
Junior Member
Posts: 81
|
Post by sinai1 on Sept 3, 2019 16:02:29 GMT
You are using the library I post, this library uses CanMessagePayloadType to handle the Message send to can, change "CAN0_SendMessage" to "CAN0_SendMessage_dword" the CAN0_SendMessage_dword is modified to work with CanMessagePayloadtypes, the CAN0_SendMessage_dword is the original one. Original: void CAN0_SendMessage_dword(uint32 CAN_Id, uint32 Lowdata, uint32 Highdata, uint8 dlc) New one: int CAN0_SendMessage(uint32 CAN_Id, CANMessagePayloadType *msg1, uint8 dlc) my version also return 1 is the msg is correctly transmited, 0 if not. if you have any question read the txt file attachet, or ask me, i could take a while to answer but surely i will. regards
|
|