| ??? 10/11/08 06:36 Read: times |
#158968 - which timer are you using ? Responding to: ???'s previous message |
Ranjit Kumar Gupta said:
INTR: MOV SCON,#50H MOV TH0,#F4H MOV TL0,#F4H MOV TMOD,#20H SETB TR0 RET END Hello ranjit, your timer initialization is incorrect, you are setting up timer1 in mode2 auto-reload mode and loading values for timer0, change ; MOV TMOD,#20H to >>>> MOV TMOD,#01H ( TIMER0 IN 16BIT MODE) or >>>>> MOV TMOD,#02H ( TIMER0 IN MODE 2- 8 BIT AUTO RELOAD) Arun Kumar |
| Topic | Author | Date |
| Help need in Timer Interrupt | 01/01/70 00:00 | |
| which timer are you using ? | 01/01/70 00:00 | |
| Thanks Arun | 01/01/70 00:00 | |
| where do you set R1? | 01/01/70 00:00 | |
| Multiple Problems | 01/01/70 00:00 | |
Comments? | 01/01/70 00:00 |



