??? 06/22/05 08:33 Read: times Msg Score: -1 -1 Message Not Useful |
#95557 - Loop is not ok. Responding to: ???'s previous message |
I think that command jmp $ is not good idea, without any form of exit loop.
Better use pulling of any pin or set a external, internal interrupt. Becuse when your program was end uPC, will come to endless loop until hard RESET. So to pull any PIN use, typical implementation of KeyPressed. endless_loop: jnb PIN_NUMBER, endless_loop jmp start. [ when PIN_NUMBER is P1.X or P2.X or etc. ] |
Topic | Author | Date |
reset (all the time) | 01/01/70 00:00 | |
complete loop | 01/01/70 00:00 | |
reset (all the time) | 01/01/70 00:00 | |
Further explanation | 01/01/70 00:00 | |
reset (all the time) | 01/01/70 00:00 | |
Loop is not ok. | 01/01/70 00:00 | |
exit to where?![]() | 01/01/70 00:00 | |
Run amuk | 01/01/70 00:00 |