257
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
.Notifysent Method
Function:
Using this method for the selected serial port (selection is
made through
) will cause the
event to be generated when the
amount of committed data in the TX buffer is found to be
below "threshold" number of bytes.
Syntax:
notifysent(threshold as word)
Returns:
---
See Also:
Part
Description
threshold
Amount of bytes in the TX buffer below which the event it
so be generated.
Details
Only one on_ser_data_sent event will be generated each time after the
ser.notifysent method is invoked. This method, together with the
on_ser_data_sent event provides a way to handle data sending asynchronously.
, the trigger you set won't take into account any
uncommitted data in the TX buffer.
.Num Property
Function:
Sets/returns the number of currently selected serial port
(ports are enumerated from 0).
Type:
Byte
Value Range:
The value of this property won't exceed
-1 (even if you attempt to set higher value). Default= 0
(port #0 selected)
See Also:
---
Details
All other properties and methods of this object relate to the serial port selected
through this property. Note that serial port-related events such as
change currently selected port!
257
258
243
266
258
258