Lanner Digital Input/Output Manual de usuario Pagina 18

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 28
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 27 28

Comentarios a estos manuales

Sin comentarios