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
globals.cpp
- Committer:
- pangsk
- Date:
- 2014-12-30
- Revision:
- 6:41a4ad385daa
- Parent:
- 3:05bb8f0bd7a4
- Child:
- 7:467e350d1a10
File content as of revision 6:41a4ad385daa:
#include "globals.h" 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; Serial pc(USBTX, USBRX);