CAN-Bus ECU simulator. Only part of the SAE J1979 are implemented. Uses CAN-Bus demo board as hardware platform. http://skpang.co.uk/catalog/canbus-ecu-simulator-with-lpc1768-module-p-1400.html Useful for testing diagnostic tools.

Dependencies:   TextLCD mbed

Fork of ecu_reader by Sukkin Pang

Committer:
pangsk
Date:
Tue Dec 30 10:10:02 2014 +0000
Revision:
6:41a4ad385daa
Parent:
3:05bb8f0bd7a4
Initial version.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pangsk 0:908be729d27c 1 #include "globals.h"
pangsk 0:908be729d27c 2
pangsk 3:05bb8f0bd7a4 3
pangsk 0:908be729d27c 4
pangsk 0:908be729d27c 5 DigitalOut led1 (LED1);
pangsk 0:908be729d27c 6 DigitalOut led2 (LED2);
pangsk 0:908be729d27c 7 DigitalOut led3 (LED3);
pangsk 0:908be729d27c 8 DigitalOut led4 (LED4);
pangsk 0:908be729d27c 9
pangsk 0:908be729d27c 10 // We use can on mbed pins 29(CAN_TXD) and 30(CAN_RXD).
pangsk 0:908be729d27c 11 CAN can2(p30, p29);
pangsk 6:41a4ad385daa 12 CANMessage can_MsgRx;
pangsk 6:41a4ad385daa 13 Serial pc(USBTX, USBRX);