Argox PA-20 Programming Guide Manual do Utilizador Página 67

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 130
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 66
PT-20 Programming Guide
65
LED
set_led
Purpose
To set the LED indicators
Syntax
void set_led(int led, int mode, int duration);
Example call
set_led(LED_RED, LED_FLASH, 30);
Includes
#include “SDK.h ”
Description
led
description
LED_GREEN
LED moving display green light.
LED_RED
LED moving display red light.
LED_ORANGE
LED moving display orange light.
mode
description
LED_OFF
off for (duration X 0.01) seconds then on
LED_ON
on for (duration X 0.01) seconds then off
LED_FLASH
flash, on then off each for (duration X 0.01)
seconds then repeat
Returns
none
Vista de página 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 129 130

Comentários a estes Manuais

Sem comentários