example showing how to use the mbed CAN API

Dependencies:   mbed CANMsg

Revision:
6:c893b98fc2b5
Parent:
5:37ab4112d547
Child:
7:883da97339ab
--- a/main.cpp	Tue Feb 05 14:51:20 2019 +0000
+++ b/main.cpp	Tue Feb 05 14:58:54 2019 +0000
@@ -25,6 +25,8 @@
 
 #if defined(TARGET_STM32F103C8T6)
 #define LED_PIN     PC_13
+#define USBTX       PA_2
+#define USBRX       PA_3
 const int           OFF = 1;
 const int           ON = 0;
 #else