Casio DT-X8 Series Manual do Utilizador Página 77

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 171
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 76
77
dwOnTime
This parameter is for specifying a period of ON time in the range of 0 to 255 (in the unit of
1/16 seconds) for the LED.
dwOFFTime
This parameter is for specifying a period of OFF time in the range of 0 to 255 (in the unit of
1/16 seconds) for the LED.
Return Values
TRUE : Normal end
FALSE : Abnormal end
FUNCTION_UNSUPPORT : Unsupported error
Examples
Setting for preparation to quickly turn on and off the LED in orange (Hardware
specifications dictate that the following values set in the dwNum, downtime, and
dwOFFTime parameters are the minimum values.)
SysPrepareLED(LED_ORANGE, 1, 1, 3);
Setting for preparation to blink the LED in green three times (ON for one second and OFF
for one second)
SysPrepareLED(LED_GREEN, 3, 16, 16);
Setting for preparation to turn on the LED in red for two seconds
SysPrepareLED(LED_RED, 1, 32, 3);
Setting for preparation to turn on the LED in red continuously (Set "0" in the dwOnTime
and dwOFFTime parameters for continuous turning on the LED.)
SysPrepareLED(LED_RED, 1, 255, 0);
Note:
If SysPrepareLED function is set while the LED is being lit, the setting may be disturbed.
To avoid this, the LED is forced to turn off when SysPrepareLED function is carried out.
Vista de página 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 170 171

Comentários a estes Manuais

Sem comentários