Lanner Digital Input/Output Manuale Utente Pagina 18

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 28
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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
Vedere la pagina 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 27 28

Commenti su questo manuale

Nessun commento