What do you mean by "gets stuck at"? Do you mean remains in one state for more than a certain length of time? If so, test it, store the state, delay, test again, compare the state. Maybe you should be more specific about your requirements. Cheers, Simon. --- On Tue, Aug 06, 2002 at 05:32:58PM -0400, Tony Pan wrote: > Hi, > > I am writing a safety-related software and need to detect if an input pin > gets stuck at 1 (or 0). Could any one tell me how to do it in the software? > > Thanks alot! > > Tony > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > > > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics