Hoping that this is the right part of the forum, I'm not sure if the issue is on my computer or the arduino or the LCD itself.
I have started using a SainSmart LCD shield (16x2) and have had some success with writing out times, custom text etc.
Sending text over the Arduino IDEs built in serial monitor works fine (up to 16 chars) as can be seen below.
I have started writing a bash script that will allow more control over the serial monitor etc.
I am using the following code to send text to the arduino:
$ echo hello > /dev/cu.usbmodem621
Which gives the following output
I get a weird character / glyph at the end of the string i send through, no matter what the string is.
I have tried adding single and double quotes in my bash script, but it is always the same
I think it may be something to do with an end of line character but I am not sure.
Does anyone know if the arduino has difficulties parsing end of line characters?
If it does, is it possible to strip the last character from a serial read in Arduino?
If not, does anyone have any ideas as to how to go about fixing this / experienced similar things before? I would post this to stack overflow in a bash section, but I doubt bash people would have much experience using arduino.
Thanks in advance.