B4J Programming Press on the image to return to the main documentation page.

rSoftwareSerial

List of types:

SoftwareSerial

SoftwareSerial


Events:

None

Members:


  Close As void

  Initialize (BaudRate As ULong, ReceivePin As Byte, TransmitPin As Byte) As void

  Listening As Boolean

  Stream As B4RStream [read only]

Members description:

Close As void
Closes the serial port.
Initialize (BaudRate As ULong, ReceivePin As Byte, TransmitPin As Byte) As void
Initializes the object.
BaudRate - Serial baudrate.
RecivePin - The pin used to receive data.
TransmitPin - The pin used to transmit data.
Listening As Boolean
Gets or sets whether this object is currently the "listening" serial.
Only one software serial object can be listening.
Stream As B4RStream [read only]
Returns the internal stream. This can be used together with AsyncStreams to read or write from the serial.
Top