Closed michaelobed closed 11 months ago
I've reached a kind of compromise where I now look just for the \r
character at the end of a UART string.
I was expecting Windows to always send '\n' (or at least PuTTY), but that doesn't seem to be the case by default, so this'll do for now. Closing.
Because I hacked this thing together so quickly, I forgot that only Unix endings are
\n
. Because of this, I'm opting to use\r\n
for all newlines.