NextPrevUpTopContentsIndex

write-serial-port-char

Function
Summary

Writes a character to a serial port.

Package

serial-port

Signature

write-serial-port-char char serial-port &optional timeout-error-p => char

Arguments

char

A character.

serial-port

A serial-port object.

timeout-error-p

A boolean.

Values

char

A character.

Description

The function write-serial-port-char writes the character char to the serial port associated with serial-port , and returns char .

A timeout will occur if the character cannot be written before the write timeout (as specified by values given when the serial port was opened by open-serial-port).

When a timeout occurs, if timeout-error-p is non- nil , then an error of type serial-port-timeout is signalled, otherwise nil is returned. The default value of timeout-error-p is t .

See also

 


LispWorks Reference Manual - 12 Mar 2008

NextPrevUpTopContentsIndex