CAN library containing a CAN controller object handling a FIFO, and CAN peripherals attached to it.
Diff: ControllerCAN.cpp
- Revision:
- 5:b23a3876bb1d
- Parent:
- 4:0ed21bbd917b
diff -r 0ed21bbd917b -r b23a3876bb1d ControllerCAN.cpp --- a/ControllerCAN.cpp Sat May 05 13:46:16 2018 +0000 +++ b/ControllerCAN.cpp Mon Dec 16 19:18:00 2019 +0000 @@ -25,7 +25,7 @@ #include "mbed.h" #include "ControllerCAN.h" -CAN ControllerCAN::can(PA_8, PA_9); +CAN ControllerCAN::can(PB_8, PB_9); ControllerCAN::ControllerCAN(){ can.frequency(250000); // Baud rate : kbits/s