Struggling with my BMW IBUS projects. Serial.read related issues.

I have sorted that now and it compiles, thankyou. I have quite a bit of rewriting to do now, The codes in the library need amending to suit and a library clash needs to be resolved. When I add the IR library the compiler complains that a variable has already been declared in the IR library.

I haven't looked into that as yet in any detail, having been busy sorting the library entries.

Arduino: 1.8.12 (Windows 10), TD: 1.51, Board: "Arduino Nano, ATmega328P"

// Trimmed due to excess length.


C:\Users\Andy\AppData\Local\Temp\arduino_build_762617\libraries\IRremote\IRremote.cpp.o (symbol from plugin): In function `MATCH(int, int)':

(.text+0x0): multiple definition of `__vector_7'

C:\Users\Andy\AppData\Local\Temp\arduino_build_762617\sketch\IbusSerial.cpp.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

Using library Adafruit_GFX_Library at version 1.7.5 in folder: C:\Users\Andy\Documents\Arduino\libraries\Adafruit_GFX_Library 
Using library Adafruit_ST7735_and_ST7789_Library at version 1.5.15 in folder: C:\Users\Andy\Documents\Arduino\libraries\Adafruit_ST7735_and_ST7789_Library 
Using library SPI at version 1.0 in folder: C:\Users\Andy\Documents\Arduino\hardware\arduino\avr\libraries\SPI 
Using library Wire at version 1.0 in folder: C:\Users\Andy\Documents\Arduino\hardware\arduino\avr\libraries\Wire 
Using library IRremote at version 2.2.3 in folder: C:\Users\Andy\Documents\Arduino\libraries\IRremote 
Using library SoftwareSerial at version 1.0 in folder: C:\Users\Andy\Documents\Arduino\hardware\arduino\avr\libraries\SoftwareSerial 
exit status 1
Error compiling for board Arduino Nano.