| ??? 02/04/05 13:22 Read: times |
#86533 - what is the problem? Responding to: ???'s previous message |
hi,
MOV R7,#WAIT_COUNTER
WAIT_LOOP:
JB P1.0,WAIT_END
DJNZ R7,WAIT_LOOP
; escape entrance here
;
;
WAIT_END:
; lelel detected
Regards, Oleg |
| Topic | Author | Date |
| How to escape from an endless loop ? | 01/01/70 00:00 | |
| what is the problem? | 01/01/70 00:00 | |
| Counter | 01/01/70 00:00 | |
| How about another BIT flag | 01/01/70 00:00 | |
| how would you do that | 01/01/70 00:00 | |
| Problem Solved with a combination. | 01/01/70 00:00 | |
| External interrupt | 01/01/70 00:00 | |
| Additional explanation about the problem | 01/01/70 00:00 | |
| loops | 01/01/70 00:00 | |
| Not in the ISR | 01/01/70 00:00 | |
| Answer t o additional explanation | 01/01/70 00:00 | |
| Messing with stack inside interrupt... | 01/01/70 00:00 | |
| Setup stack inside interrupt | 01/01/70 00:00 | |
| I am sure it is good way for you! | 01/01/70 00:00 | |
Your idea is good. | 01/01/70 00:00 |



