TBlockSerial Synaser lazarus / 31-LCL ---------------------------------------------------------------------- ::MaTu:: · 2024-10-23 12:32 Hi, I am using TBlockSerial to communicate with an Arduino. How I can sent a Cariage Return to the board? ser.SendString('\r\n'); does not work. Thanks, MaTu FPC 3.2.2, IDE 3.6 Win64 ---------------------------------------------------------------------- marcov · 2024-10-23 12:55 Use numbered characters outside the string. Just like \0xxx syntax in C like languages. So   ser.sendstring(#13#10); would do pretty much the same. To concatenate you don't need a plus. ser.sendstring('this is a test'#13#10'another line'#13#10); To make an apostrophe, enter and exit the string like e.g. 'Coogan''s Bluff' ---------------------------------------------------------------------- ::MaTu:: · 2024-10-23 13:17 Thank you, that works fine.