We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serial.flush()
Several customer have reported that the Serial.flush() function no longer clears the input and output buffers; it only clears the output buffer.
The firmware needs to be updated for this change: https://github.com/sparkfun/OBD-II_UART/blob/master/Firmware/obdIIUartQuickstart.ino#L55 https://github.com/sparkfun/OBD-II_UART/blob/master/Firmware/obdIIUartQuickstart.ino#L60 https://github.com/sparkfun/OBD-II_UART/blob/master/Firmware/obdIIUartQuickstart.ino#L83
A common recomendation from the Arduino forum:
while(Serial.available() > 0) { char dump_buf = Serial.read(); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Several customer have reported that the
Serial.flush()
function no longer clears the input and output buffers; it only clears the output buffer.The firmware needs to be updated for this change:
https://github.com/sparkfun/OBD-II_UART/blob/master/Firmware/obdIIUartQuickstart.ino#L55
https://github.com/sparkfun/OBD-II_UART/blob/master/Firmware/obdIIUartQuickstart.ino#L60
https://github.com/sparkfun/OBD-II_UART/blob/master/Firmware/obdIIUartQuickstart.ino#L83
A common recomendation from the Arduino forum:
The text was updated successfully, but these errors were encountered: