Thingmagic Mercury API v1.23.0 Instrukcja Użytkownika Strona 59

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 128
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 58
GPIO Support
Level 2 API 59
GPIO Support
Get/Set Value
Reader.GpioPin[] gpiGet()
void gpoSet(Reader.GpioPin[] state)
If the reader device supports GPIO pins, the gpiGet() and gpoSet() methods can be
used to manipulate them. The pin numbers supported as inputs by the reader are
provided in the
/reader/gpio/inputList parameter. The pin numbers supported as outputs
by the reader are provided in the
/reader/gpio/outputList parameter.
The gpiGet() and gpoSet() methods use an array Reader.GpioPin objects which
contain pin ids and values.
Note
The gpoSet() method is not guaranteed to set all output pins
simultaneously.
Note
The gpiGet() method returns the state for all GPI pins.
Note
See specific devices User Guide for pin number to physical pin mapping.
GPIO Direction
M6e Only
The direction (input or output) of the GPIO pins on the M6e are configurable. The
configuration of the pins can be configured by setting the the
/reader/gpio/inputList and
M6e Only
the /reader/gpio/outputList parameters.
Przeglądanie stron 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 127 128

Komentarze do niniejszej Instrukcji

Brak uwag