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 mbed-STM32F103C8T6
Diff: globals.cpp
- Revision:
- 0:908be729d27c
- Child:
- 3:05bb8f0bd7a4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/globals.cpp Thu Jul 08 21:05:29 2010 +0000 @@ -0,0 +1,12 @@ +#include "globals.h" + +Serial pc (USBTX,USBRX); + +DigitalOut led1 (LED1); +DigitalOut led2 (LED2); +DigitalOut led3 (LED3); +DigitalOut led4 (LED4); + +// We use can on mbed pins 29(CAN_TXD) and 30(CAN_RXD). +CAN can2(p30, p29); +CANMessage can_MsgRx; \ No newline at end of file