Closed JacobChrist closed 1 year ago
By design. We don't support CRLF in the print command because customers almost never start their printing at X=0 so we leave any CRLF-like activities up to the customer. This matches the behavior of the EZLCD API and the previous 10x Lua code used by existing customers.
I think you are misunderstanding the issue and this has nothing to do with CRLF. The same code does different things depending on the run. Sometimes it works as expected other times the cursor does not advance when printing.
This issue shouldn't be closed.
Describe the bug Sometimes when printing to the screen the font position pointer does not advance resulting in two character being printed at the same screen position. This happens maybe once every in ten runs.
This maybe related to the USB enumeration issue #65 because that is about where the screen drawing is taking place when the enumeration process starts.
To Reproduce This code is the start of a much larger program, but this is the code that runs up to this point where the issue occurs.
Expected behavior The string "I2C Open: true" should have been printed without overlapping characters.
Screenshots Red arrow points to offending error.![image](https://user-images.githubusercontent.com/198251/226938371-9dc7e588-111a-40e7-9c80-78ae0d9492e5.png)