#SerialPort, The serial port to use. String$, The string to write. Format (optional), The string format to use. It can be one of the following value: #PB_Ascii: the. Purebasic serial port example R cemment, je me suis mis au Purebasic, gr ce Ombre. Ainsi, jai pu OpenConsole() ConsoleTitle ( PureBasic - Console Example )Popularity Tags industrial, device server, serial ports, ethernet File Transfer,gsm gprs Modem Usb,net Class Library,replace Mscomm,9-bit.
WriteSerialPortString WriteSerialPortString() Syntax Result = WriteSerialPortString(#SerialPort, String$ [, Format]) Description Writes a string to the specified serial port. Parameters #SerialPort The serial port to use. String$ The string to write.
Format (optional) The string format to use. Veselie zadaniya dlya predmetnoj nedeli anglijskom yazike. It can be one of the following value: #PB_Ascii: the string will be written in ascii format (default, even in mode). #PB_UTF8: the string will be written in UTF8 format. #PB_Unicode: the string will be written in unicode (UTF16) format.
Return value The number of bytes written to the serial port, or zero if the operation has failed. Remarks To check how much data is available in the output buffer, use. See Also, Supported OS All.