OBD2 and Arduino Help

Howdy,
I am new to the amazing world of arduino and I am trying to build a ODB2 interface. I have down loaded the following example which uses 3 files, COBD.ino, OBD.cpp and OBD.h. When i compile it I get the following errors,

CODB.cpp: In function 'void setup()':
CODB:14: error: 'obd' was not declared in this scope
CODB.cpp: In function 'void loop()':
CODB:21: error: 'obd' was not declared in this scope

I have attached the files as a .zip

Any help would be great,

James

www.arduinoprojectshq.com

CODB.zip (3.62 KB)

You declared the class as

COBD odb;

Change it to

COBD obd;

baum

That would be right.... I spent ages looking at the code trying to work it out and it was one little typo...

Thanks heaps :slight_smile:

James