Closed gvansickle closed 4 years ago
Hi, Good catch. It's an error in the original code that Sparkfun harvested.
It should end with "return 1;" since one byte was written.
I have submitted a pull request with a fix. Thanks for raising this issue. If you want the fixed code now, it's available in the fourstix/QwiicSerLCD repository code.
Thanks all! Will be rolled into next release.
Note the missing return on SerLCD::write(), which should return a size_t but returns nothing:
https://github.com/sparkfun/SparkFun_SerLCD_Arduino_Library/blob/34d4f1dbd32d8c42e6b85679d1ab3aaae0557272/src/SerLCD.cpp#L395