1. When you are in the while loop, have a time out routine.
For example, have your PIC timer module set to the time you need. For example, IF TMR1IF THEN Exitloop. TMR1 is preloaded with your required time.
2. Need to see the code.
1. When you are in the while loop, have a time out routine.
For example, have your PIC timer module set to the time you need. For example, IF TMR1IF THEN Exitloop. TMR1 is preloaded with your required time.
2. Need to see the code.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks