![](/media/cache/group/logo_thTzkVQ.jpg.50x50_q85.jpg)
NUMAKER CAN sample
Diff: main.cpp
- Revision:
- 7:956b6cf0b070
- Parent:
- 6:b9714e564dee
- Child:
- 8:7310cfa7f71c
diff -r b9714e564dee -r 956b6cf0b070 main.cpp --- a/main.cpp Wed May 13 13:20:28 2020 +0800 +++ b/main.cpp Mon Mar 06 09:46:59 2023 +0000 @@ -21,9 +21,11 @@ #elif defined(TARGET_NUMAKER_PFM_M453) CAN canObj(PA_13, PA_12); // Internal in the board #elif defined(TARGET_NUMAKER_PFM_M487) -CAN canObj(D9, D8); // Change to match external attachment +CAN canObj(D9, D8); // (rd, td) Change to match external attachment #elif defined(TARGET_NUMAKER_IOT_M487) CAN canObj(A0, A1); // Change to match external attachment +#elif defined(TARGET_NUMAKER_IOT_M467) +CAN canObj(PJ_11, PJ_10); // (rd, td) Change to match external attachment #endif CANMessage canMsg;