| CONFIGURE | ||||||||||||||||||||||
| Syntax | CONFIGURE channel word |
|||||||||||||||||||||
| Explanation | CONFIGURE is used to set the
configuration for an open serial port. The first input is
the channel number to configure, and the second input is
a word describing what to configure. This word actually
consists of several possible settings, while each of the
settings is separated by a comma. A valid setting would
f. ex. be "|baud=9600,parity=o,handshake=x|. When Logo opens a port, its uses the following default settings: baud=9600,data=1,parity=n,timeout=5000,handshake=off,binary=n The following settings are possible:
|
|||||||||||||||||||||
| Examples | MAKE "CHAN OPEN.PORT
"MODEM CONFIGURE :CHAN "|baud=9600| (PRINTQUOTE "HELLO :CHAN) CLOSE :CHAN |
|||||||||||||||||||||