I need to do the following senerio,
when there is no input at the portA,3 (the output of portA,3 is portB,3) for 5 minutes the system must reset automatically,
friends, are you having any Idea to fulfill the condition.
thanks
Saran
set the timer to reset
-
- Posts: 61
- Joined: Thu Dec 20, 2007 4:23 pm
- Location: singapore
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: set the timer to reset
Hello Saran
Maybe the watchdog timer would be useful for providing this reset function. Refer to the device datasheet under special features of the CPU. Other then this you can use a software reset eg a goto or a jump that tales the program back to the start.
Maybe the watchdog timer would be useful for providing this reset function. Refer to the device datasheet under special features of the CPU. Other then this you can use a software reset eg a goto or a jump that tales the program back to the start.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel