Lanner Digital Input/Output Manuel d'utilisateur Page 18

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 28
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 27 28

Commentaires sur ces manuels

Pas de commentaire