| ??? 02/16/03 23:08 Read: times |
#39186 - only using timers for 1 second delay |
Check my 1 Second delay program using only Timers, commands but no interrupts involved so please give me suggestion for this code without using interrupts using 16 bit timer mode. timer has to count 50000 x 20 times = to produce 1000000 microseconds = 1 second ORG 00H MOV Ro,#20D LOOP: MOV TH0,#3CH MOV TL0,#B0H MOV TMOD,01B ( setting timer for 16 Bit Mode) SETB TR0 ( starting timer) DJNZ R0,LOOP ( this will make 50000 x 20 times) JNB TF0,$ CPL P1.0 CLR TF0 RET |
| Topic | Author | Date |
| only using timers for 1 second delay | 01/01/70 00:00 | |
| RE: only using timers for 1 second delay | 01/01/70 00:00 | |
| RE: only using timers for 1 second delay | 01/01/70 00:00 | |
| For Hal Albach | 01/01/70 00:00 | |
| RE: That's an ill concept: Waqar. | 01/01/70 00:00 | |
| It is all in the mind... | 01/01/70 00:00 | |
| RE: It is all in the mind... | 01/01/70 00:00 | |
| RE: It is all in the mind... | 01/01/70 00:00 | |
RE: It is all in the mind... | 01/01/70 00:00 |



