CAN library containing a CAN controller object handling a FIFO, and CAN peripherals attached to it.

Files at this revision

API Documentation at this revision

Comitter:
DGonz
Date:
Mon Dec 16 19:18:00 2019 +0000
Parent:
4:0ed21bbd917b
Commit message:
Changed pins to match F446RE

Changed in this revision

ControllerCAN.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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