Argox PA-20 Programming Guide Instrukcja Użytkownika Strona 104

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 130
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 103
PT-20 Programming Guide
102
Vibrate
on_vibrator
Purpose
Use on_vibrator to set vibrator on.
Syntax
void on_vibrator(void);
Example call
on_vibrator( );
Includes
#include “SDK.h ”
Description
Use on_vibrator function can enable vibrator. On timer is set by
set_vibrator_timer function.
Returns
None.
off_vibrator
Purpose
Use off_vibrator to set vibrator off.
Syntax
void off_vibrator(void);
Example call
off_vibrator( );
Includes
#include “SDK.h ”
Description
Use off_vibrator function can daisable vibrator.
Returns
None.
set_vibrator_timer
Purpose
Use set_vibrator_timer to set vibrator on timer.
Syntax
void set_vibrator_timer(unsigned char usTimer);
Example call
set_vibrator_timer(10);//Set vibrator on timer for 1 sec.
Includes
#include “SDK.h ”
Description
Use set_vibrator_timer function can set vibrator on timer. For example, set
10 for on 1 sec.
Returns
None.
get_vibrator_timer
Purpose
Use get_vibrator_timer to get vibrator on. timer
Syntax
unsigned char get_vibrator_timer(void);
Example call
i = get_vibrator_timer( );
Includes
#include “SDK.h ”
Description
Use get_vibrator_timer function can get vibrator on timer.
Returns
Vibrator on timer.
Przeglądanie stron 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 129 130

Komentarze do niniejszej Instrukcji

Brak uwag