Positron Compiler Documentation

RsoutLn

Source: Positron8 Compiler User Manual, PDF page 243

Syntax

RsoutLn Item {, Item... }

Overview

Transmit one or more Items to a predetermined pin at a predetermined Baud rate in standard asynchronous format using 8 data bits, no parity and 1 stop bit (8N1), and terminate with a Carriage Return(13) or Carriage Return(13) Line Feed(10) or Line Feed(10) Carriage Return(13).. The pin is automatically made an output.

Parameters

Item may be a constant, variable, expression, string list, modifier, or inline command. See the section for Rsout for more details.

Declare

There is a declare for the RsoutLn command that dictates what values are used as the terminator.

  Declare Serial_Terminator = CRLF or LFCR or CR

The parameter CR will transmit a single value of 13 at the end of transmission. The parameter CRLF will transmit a value of 13 then 10 at the end of transmission. The parameter LFCR will transmit a value of 10 then 13 at the end of transmission.

See also : Declare, Rsin , Serin, Serout, HRsin, HRsout, HRsoutLn, HSerin, HSerout.