SER2.sendavail()

This command queries the number of bytes available to send to SER2 buffer.

It has no input parameter.

The return value is a Python integer which is the number of bytes available to send to SER2 buffer.

Example:

 

n = SER2.sendavail()

 

queries the number of bytes available to send, assigning the return value to n.