Saharsh Bishnoi
/
UBRCANReader
UBR CAN
Fork of CAN_bus_reader_pub by
Diff: globals.cpp
- Revision:
- 0:78752077cc25
- Child:
- 1:b57b77b29c7e
diff -r 000000000000 -r 78752077cc25 globals.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/globals.cpp Wed Nov 09 04:59:01 2011 +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(p9, p10); +CANMessage can_MsgRx; \ No newline at end of file