Specifications

175
You may change the beeper volume with the
OUT statement. (For details, refer to
Appendix D, "I/O Ports.")
If you set a value other than 0, 1, and 2 to
frequency, the beeper volume is
automatically set to the maximum and not adjustable.
Specification of any of 3 through 39 to
frequency deactivates the beeper or
vibrator.
Specification of zero to
onduration deactivates the beeper.
Specification of a value except for zero to onduration and specification of zero
to
offduration keep beeping.
Specification of a value except for zero to onduration and offduration
and specification of zero to repetitioncount deactivate the beeper.
For your reference, the relationship between the frequencies and the musical
scale is listed below.
The
BEEP statement does not suspend execution of the subsequent statement
until the beeper completes sounding or vibrating. Instead, the execution of the
subsequent statement proceeds immediately.
If a second
BEEP statement is encountered while the BHT is still beeping or
vibrating by a first
BEEP, the first BEEP is cancelled and the new BEEP statement
executes.
If low battery warning operation starts during beeping or vibrating programmed by
the
BEEP, then the warning operation overrides the programmed beeping or
vibrating. Upon completion of the warning operation, the beeper or vibrator
resumes working as programmed.
Scale 1Scale 2Scale 3Scale 4Scale 5Scale 6
do 130 Hz 261 Hz 523 Hz 1046 Hz 2093 Hz 4186 Hz
do# 138 277 554 1108 2217
re 146 293 587 1174 2349
re# 155 311 622 1244 2489
mi 164 329 659 1318 2637
fa 174 349 698 1396 2793
fa# 184 369 739 1479 2959
sol 195 391 783 1567 3135
sol# 207 415 830 1661 3322
la 220 440 880 1760 3520
la# 233 466 932 1864 3729
si 246 493 987 1975 3951