Lanner Digital Input/Output Manual do Utilizador Página 18

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 28
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 17
Software User Manual Version 1.0
16
To execute the watchdog sample code, type:
The watchdog can serve two purposes: bypass and watchdog. Switch between them
with the following command first.
# ./wd_tst --swtsb (Set Watchdog Timeout State to Bypass function)
# ./wd_tst --swtsr (Set Watchdog Timeout State to Reset function)
Set watchdog timeout value and start/stop the watchdog with the following commands.
# ./wd_tst --swt xxx (Set Watchdog Timer 1-255 seconds)
# ./wd_tst[*] --start (Start Watchdog Timer)
# ./wd_tst --stop (Stop Watchdog Timer)
To execute the Status LED sample code, type:
#./sled_tst
As mentioned above, the status LED can be programmed to show the status of the
user-defined program. This sample program demonstrates lighting the LED for 4
seconds.
To execute the Software Reset Button test function, type:
# ./btn_tst
Vista de página 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 27 28

Comentários a estes Manuais

Sem comentários