
PT-20 Programming Guide
Vibrate
Use on_vibrator to set vibrator on.
Use on_vibrator function can enable vibrator. On timer is set by
set_vibrator_timer function.
Use off_vibrator to set vibrator off.
Use off_vibrator function can daisable vibrator.
Use set_vibrator_timer to set vibrator on timer.
void set_vibrator_timer(unsigned char usTimer);
set_vibrator_timer(10);//Set vibrator on timer for 1 sec.
Use set_vibrator_timer function can set vibrator on timer. For example, set
10 for on 1 sec.
Use get_vibrator_timer to get vibrator on. timer
unsigned char get_vibrator_timer(void);
i = get_vibrator_timer( );
Use get_vibrator_timer function can get vibrator on timer.
Comentários a estes Manuais