What is this "// send terminating byte (ESC)" in the code?
Posted: Sat Mar 26, 2016 2:30 am
In FreematicsONE.cpp, there is:
What is this terminating byte business and why is it needed only if the OBDUART version is 10?
Code: Select all
// send terminating byte (ESC)
if (version != 10) {
SPI.transfer(0x1B);
digitalWrite(SPI_PIN_CS, HIGH);
} else {
digitalWrite(SPI_PIN_CS, HIGH);
}
What is this terminating byte business and why is it needed only if the OBDUART version is 10?