Technical Information

Application Development Manual | Configuring beeper and vibrator operation

Configuring beeper and vibrator operation

Function

Activate the specified beeper/vibrator devices using the beeper pitch and vibrator pattern specified here.

Syntax

Detailed Description

The first three parameters specify the vibrator pattern--three short pips or one long tone, for example. (See examples.)

Setting onduration to a nonzero value and offduration to zero produces continuous beeper/vibrator output.

Examples

3 pips, each 100 ms long, using the standard low frequency

  beep 1,1,3,0

300 ms tone using the standard medium frequency

  beep 3,,1,1

Continuous high-pitched tone

  beep 1,0,1,2

300 ms tone at 1046 hz

  beep 3,,1,1046

Contact us

QBdirect