
Remarks
The return value is 1 if it is ready for sending data; otherwise, it returns 0.
Note that it takes approximately 110 ms to detect the status of the keyboard wedge
connection. Therefore, for continuous and fast data transmission, simply call this
function once. DO NOT call this function repeatedly.
Example
IF (WEDGE_READY = 1) THEN
...
SEND_WEDGE (DATA$)
...
END IF
...
See Also
SEND_WEDGE, SET_WEDGE
5.10 Buzzer Commands
This section describes the commands relating to the beeper.
BEEP
Purpose
To produce audible signals according to a specified beeping sequence.
Syntax
BEEP(freq%, duration% {, freq%, duration%})
Remarks
"freq%" is an integer variable, indicating the value of beeping frequency (Hz).
Suggested frequency for the beeper ranges from 1 kHz to 6 kHz.
"duration%" is an integer variable, indicating the value of beeping duration, which
is specified in units of 10 milliseconds.
Up to eight frequency-duration pairs can be assigned in a BEEP command. If the
value of the frequency is 0, the beeper will not sound during the time duration.
Example
ON READER(1) GOSUB BcrDATA_1
...
BcrData_1:
BEEP(2000, 10, 0, 10, 2000, 10)
...
RETURN
See Also
STOP BEEP
Comentarios a estos manuales