I have a problem with hardware serial.
I have found on the internet a code to reading the obd KKL kw1281 protocol.(I have attach the code)
The code it works very good with software serial with baudrate 10400.
My main problem is that when i add i2c requestEvent fuction with wire.write() the software serial lost same data when it come a request event from i2c.
To solve this problem i decide to make the serial communication with hardware serial.
My problem is that the hardware serial it dosent work at this baud rate.At the start of the code it receiving the first 3 bytes 0x55, 0x01, 0x8A but after that it dosent work.
has anyone any idea what i must to do ?
Thanks you in advance
arduino_kw1281_v0.2.ino (14.6 KB)
NewSoftwareSerial.cpp (13 KB)
NewSoftwareSerial.h (3.39 KB)