| ??? 02/14/03 15:12 Read: times |
#39077 - RE: Actual Code for a 1 Sec ISR Responding to: ???'s previous message |
Raghunathan, You can make your interrupt service routine shorter as fellowing: ONESEC: DJNZ COUNT1,EXIT ; 40 interrupts over ? Exit if not MOV COUNT1,#TIME1 ; Yes DJNZ COUNT2,EXIT ; 40 X 100 interrupts over ? Exit if not MOV COUNT2,#TIME2 ; Yes CPL P1.1 ; 1 Sec over. Change output EXIT: RETI Regards, George |
| Topic | Author | Date |
| flow charts for digital clock | 01/01/70 00:00 | |
| RE: flow charts for digital clock | 01/01/70 00:00 | |
| RE: flow charts for digital clock | 01/01/70 00:00 | |
| RE: flow charts for digital clock | 01/01/70 00:00 | |
| please just tell me how to do this | 01/01/70 00:00 | |
| RE: please just tell me how to do this | 01/01/70 00:00 | |
| Actual Code for a 1 Sec ISR | 01/01/70 00:00 | |
RE: Actual Code for a 1 Sec ISR | 01/01/70 00:00 | |
| RE: flow charts for digital clock | 01/01/70 00:00 | |
| RE: Actual 1 sec. code: Raghunathan R | 01/01/70 00:00 | |
| RE: Actual 1 sec. code: Raghunathan R | 01/01/70 00:00 |



