Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed LCD_DISCO_F469NI BSP_DISCO_F469NI
Revision 1:e5a8ef21e0db, committed 2019-02-15
- Comitter:
- Stefan_Sofijanic
- Date:
- Fri Feb 15 20:58:09 2019 +0000
- Parent:
- 0:aa6b01316e93
- Commit message:
- CAN Receive with STM32 F469NI Discovery LCD display board
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Apr 11 14:18:07 2018 +0000
+++ b/main.cpp Fri Feb 15 20:58:09 2019 +0000
@@ -17,6 +17,7 @@
// Receive Flag
uint32_t rx_flag=0x00000000;
+Serial pc(USBTX, USBRX);
// CAN Message variables, one variable for each ID
// If new IDs are added, add variables for them
@@ -42,7 +43,7 @@
DigitalOut led1(LED1);
DigitalOut led2(LED2);
// initialize CAN object
-CAN can1(PB_5, PB_13);
+CAN can1(PB_8, PB_9);
// CAN RX Interrupt Function
void CAN_Msg_Receive(){