389
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
Details
This can only happen for "non-looped" patterns. Multiple on_beep events may be
waiting in the event queue.
8.3.10.3
.Play Method
Function:
Loads new beeper pattern to play.
Syntax:
pat.play(byref pattern as string, patint as
pl_beep_int)
Returns:
---
See Also:
Part
Description
pattern
Pattern string, can include the following characters:
'-': the buzzer is off
'B' or 'b': the buzzer is on
'~': looped pattern (can reside anywhere in the pattern
string)
'*': double-speed pattern (can reside anywhere in the
pattern string). New in
V1.1
: You can use this symbol twice
and, thus, obtain x4 speed if necessary!
patint
Defines whether the beep.play method is allowed to
interrupt another pattern that is already playing:
0- PL_BEEP_NOINT: cannot interrupt
1- PL_BEEP_CANINT: can interrupt)
Details
Maximum pattern length is 16 "steps". The
event is generated once the
pattern finishes playing (looped patterns never finish playing).
RTC Object
The RTC object facilitates access to the real-time counter (RTC) of the device. The
RTC is an independent hardware counter that has its own power input. When the
backup battery is installed, the RTC will continue running even when the rest of
the device is powered off. The RTC keeps track of elapsed days, minutes, and
seconds, not actual date and time. This is why it is called the "counter", not
"clock". This platform includes a set of convenient date and time conversion
syscalls that can be used to transform RTC data into current date/time and back
(see
,
,
and
).
387
386
211
204
191
211
192
195
203
203