OBD - II adapter and software serial - need help in library modification

Hello!

i use OBD-II adapter from arduinodev.com and Arduino OBD library from https://github.com/stanleyhuangyc/ArduinoOBD/tree/master/libraries/OBD

this library work if i connect adapter to RX and TX pin of my Arduino (i have a serial output version of adapter)

How i can use this library with SoftwareSerial ? I need hardware serial free to use USB connection facilities of my Arduino board to communicate with master computer over USB.

Can anyone check this library and help with its modification for software serial?

Thanks. Sorry my bad English.

That library already abstracts the Serial port to use. Add an include statement to the header file, for SoftwareSerial. Create an instance of the SoftwareSerial class, called OBDUART, and comment out this stuff:

#ifndef OBDUART
#if defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega644P__)
#define OBDUART Serial1
#else
#define OBDUART Serial
#endif
#endif

PaulS: Create an instance of the SoftwareSerial class, called OBDUART

Sample of code please. I not understand what is "create an instance".... :(

Thanks.