I have be trying to print the serial output from the arduino to the linux terminal but the output sent to the terminal is seems to be empty with string as shown in the figure below
Discard the blanks and only display those with data.
How can i do that
RXdata = trim( ser.readline() );
if (RXdata != "") serial.print(RXdata);
@madmark2150 i was running this in the raspberry pi terminal and witht the same code but, here at least there is somting printed
and idea ?
It's converting one imperial gallon to litres, and getting it right every time....
Hi , i dont understand your point (one imperial gallon to litres, and getting it right every time)
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

