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:
Thu Jul 08 21:05:29 2010 +0000
Revision:
0:908be729d27c
Child:
3:05bb8f0bd7a4

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pangsk 0:908be729d27c 1 #include "globals.h"
pangsk 0:908be729d27c 2
pangsk 0:908be729d27c 3 Serial pc (USBTX,USBRX);
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 0:908be729d27c 12 CANMessage can_MsgRx;