Positron Compiler Documentation

HseroutLn, Hserout2Ln, Hserout3Ln, Hserout4Ln

Source: Positron16 Compiler User Manual, PDF page 237

Syntax

HseroutLn [Item {, Item... }] Hserout2Ln [Item {, Item... }] Hserout3Ln [Item {, Item... }] Hserout4Ln [Item {, Item... }]

Overview

Transmit one or more Items from the hardware serial port on devices that contain one or more USART peripherals and terminate with a Carriage Return(13) or Carriage Return(13) Line Feed(10) or Line Feed(10) Carriage Return(13). The syntax and operators are exactly the same as Hserout, Hserout2, Hserout3 and Hserout4. If Hserout2Ln, Hserout3Ln, or HseroutLn are used, the device must contain more than 1 USART.

Parameters

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

Declares

There are 4 declares for the HseroutXLn commands. Each one is for the particular command.

  Declare Hserial1_Terminator = CRLF or LFCR or CR
  Declare Hserial2_Terminator = CRLF or LFCR or CR
  Declare Hserial3_Terminator = CRLF or LFCR or CR
  Declare Hserial4_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, Rsout, Serin, Serout, Hrsout, HrsoutLn, Hrsin, Hserin, Hserout.