Saharsh Bishnoi
/
UBRCANReader
UBR CAN
Fork of CAN_bus_reader_pub by
globals.h@0:78752077cc25, 2011-11-09 (annotated)
- Committer:
- nadakiti
- Date:
- Wed Nov 09 04:59:01 2011 +0000
- Revision:
- 0:78752077cc25
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nadakiti | 0:78752077cc25 | 1 | #ifndef GLOBALS_H |
nadakiti | 0:78752077cc25 | 2 | #define GLOBALS_H |
nadakiti | 0:78752077cc25 | 3 | |
nadakiti | 0:78752077cc25 | 4 | #include "mbed.h" |
nadakiti | 0:78752077cc25 | 5 | |
nadakiti | 0:78752077cc25 | 6 | extern Serial pc; |
nadakiti | 0:78752077cc25 | 7 | extern DigitalOut led1; |
nadakiti | 0:78752077cc25 | 8 | extern DigitalOut led2; |
nadakiti | 0:78752077cc25 | 9 | extern DigitalOut led3; |
nadakiti | 0:78752077cc25 | 10 | extern DigitalOut led4; |
nadakiti | 0:78752077cc25 | 11 | |
nadakiti | 0:78752077cc25 | 12 | // We use can on mbed pins 29(CAN_TXD) and 30(CAN_RXD). |
nadakiti | 0:78752077cc25 | 13 | extern CAN can2; |
nadakiti | 0:78752077cc25 | 14 | extern CANMessage can_MsgRx; |
nadakiti | 0:78752077cc25 | 15 | #endif |