Serial

From REALbasicWiki

Jump to: navigation, search

Contents

[edit] Description

The Serial class provides an interface for serial communications.

[edit] Superclass

Serial inherits from Object.

[edit] Interfaces

Serial implements the Readable and Writeable class interfaces.

[edit] Constants

[edit] Baud300 = 0

[edit] Methods

[edit] Open() as Boolean

The Open method attempts to open a connection. It returns true if it succeeds, or false if it fails.

[edit] Properties

[edit] Baud as Integer

The Baud property allows you to set or get the data exchange rate of a Serial object. Use one of the Baud* constants to determine the BaudRate. For example,

s.Baud = Serial.Baud300

sets the baud rate of the Serial object s to 300.

[edit] Events

[edit] Discussion

[edit] Sample Code

Personal tools
related