??? 06/15/04 19:32 Read: times |
#72542 - RE: CRASH routine Responding to: ???'s previous message |
erik malund said:
A little trick I often use is to have a routine called 'crash' that is implemented whereever there is a possibility of something wrong from outside factors such as a reading from and ADC going crazy because of an analog input being overloaded. Another good place to put such a call is in the 'default' clause of a case statement, where all valid cases should have been handled... |