with CAN
Dependencies: mbed mbed-STM32F103C8T6 USBDevice_STM32F103
Revision 9:17c7c4106da5, committed 2019-12-11
- Comitter:
- hexxter
- Date:
- Wed Dec 11 23:38:35 2019 +0000
- Parent:
- 8:114dbc93d9f7
- Commit message:
- with CAN;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon May 13 08:42:21 2019 +0000 +++ b/main.cpp Wed Dec 11 23:38:35 2019 +0000 @@ -6,7 +6,7 @@ int main() { confSysClock(); //Configure system clock (72MHz HSE clock, 48MHz USB clock) - + CAN can1(PB_8, PB_9); Serial pc(PA_2, PA_3); // USBSerial usbSerial; // connection is blocked when USB is not plugged in USBSerial usbSerial(0x1f00, 0x2012, 0x0001, false); // connection is not blocked when USB is not plugged in