WUX-7300U/7100U
Copyright © Portwell 2018
WUX-7XXXU series User's Guide
19
5
Signal Descriptions
5.1
Watch Dog Signal
void WatchDogTest()
{
int WDTimer = 30;
printf("Please input WatchDog timer:");
scanf("%d", &WDTimer);
ShowError(bSuccess = AsrLibWDSetConfig(WDTimer));
ShowError(bSuccess = AsrLibWDTrigger());
char Key = 0;
int CurrentTime = 0;
int WaitSeconds = WDTimer;
while (WaitSeconds) {
ShowError(CurrentTime = AsrLibWDCounter());
Wait+;
while (1)
{
while (kbhit())
{
Key = _getch();