Jean-Pierre Aulas
/
CanS-Homes
start adapt S-Homes structure
Diff: main.cpp
- Revision:
- 10:eadd73cf3981
- Parent:
- 9:3211e88e30a5
- Child:
- 11:e837b1a581cb
diff -r 3211e88e30a5 -r eadd73cf3981 main.cpp --- a/main.cpp Fri Feb 08 13:16:55 2019 +0000 +++ b/main.cpp Sun Sep 06 17:42:37 2020 +0000 @@ -41,8 +41,8 @@ #include "mbed.h" #include "CANMsg.h" -Serial pc(USBTX, USBRX); -CAN can(PB_8, PB_9); // CAN Rx pin name, CAN Tx pin name +Serial pc(PA_2, PA_3); +CAN can(PA_2, PA_3); // CAN Rx pin name, CAN Tx pin name //CAN can(p30, p29); // CAN Rx pin name, CAN Tx pin name CANMsg rxMsg; CANMsg txMsg;