SER2.send(string)

This command sends a string to the serial port USIF1.

The input parameter string is a Python string to send to the serial port USIF1.

The return value is a Python integer which is -1 if the timeout period has expired, 1 otherwise.

Example:

 

a = SER2.send('test')

 

sends the string 'test' to the serial port USIF1 handling, assigning the return value to a.

 

Note: The buffer available for the SER2.send command is 4096 bytes.