I've written an I²C backpack (pic16F18854) for an LCD and a library for the Arduino.
All works fine except for EOL.
If I use println it sends 0x0d and 0x0a, if I stream it from littleFS then depending on what system it was saved on it might send any combination of the two.
Has anyone come up with a solution for this? I'm thinking I might need a flag so if either (or both) are present it goes to a new line. But, this seems messy and not elegant.
Thanks,
Mike.
All works fine except for EOL.
If I use println it sends 0x0d and 0x0a, if I stream it from littleFS then depending on what system it was saved on it might send any combination of the two.
Has anyone come up with a solution for this? I'm thinking I might need a flag so if either (or both) are present it goes to a new line. But, this seems messy and not elegant.
Thanks,
Mike.