??? 02/04/05 14:40 Read: times |
#86545 - How about another BIT flag Responding to: ???'s previous message |
Change this "JNB P1.0,$"
into this: Clr Bit_Flag Back: JB P1.0, Go_On JB Bit_Flag,Back .... Go_On: ...... ....... Any time you want to exit the loop, just SETB Bit_Flag eventhough P1.0 is 0. Stanley |
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 |