| ??? 10/18/05 13:15 Read: times |
#102559 - Please correct me |
Hello,
uC is AT89C52 clock is 11,0592 MHz platform is Keil C Im using Timer0 as 16 bit timer, with TH0 reload value of 0xA600. Question : Is time between two interrupts equal 25 mS ? Program : void main { TCON = 0x05;//IT1,IT0 = 1, (Irq0, Irq1 = H->L), TMOD = 0x21;//Timer0 16 Bit Timer TH0 = 0xA6; TL0 = 0x00; PT0 = ENABLE; IE = 0x17; //Enable T0 Irq TR0 = 1; EA = ENABLE; while (1) { ....Program }//while }//void main void T0_Irq() interrupt TF0_VECTOR { EA = DISABLE; TH0 = 0xA6; //TL0 avtomaticly conut up ...Program EA = ENABLE; }//End T0 Iztok |
| Topic | Author | Date |
| Please correct me | 01/01/70 00:00 | |
| you are, as far as I can see not enablin | 01/01/70 00:00 | |
| 25 mS? | 01/01/70 00:00 | |
| Timer0 | 01/01/70 00:00 | |
| how do you make a blibking LED "complica | 01/01/70 00:00 | |
| Led | 01/01/70 00:00 | |
| the question was show the ISR so | 01/01/70 00:00 | |
Complicated LED blink challenge | 01/01/70 00:00 | |
| seconds = s | 01/01/70 00:00 | |
| easily | 01/01/70 00:00 | |
| LED blinking | 01/01/70 00:00 | |
| I do not know how frequency detection be | 01/01/70 00:00 | |
| frequency | 01/01/70 00:00 | |
| I have one :-) | 01/01/70 00:00 | |
| true for incandenscent, but not for LED | 01/01/70 00:00 | |
| Led times | 01/01/70 00:00 | |
| So what is the problem now? | 01/01/70 00:00 | |
| How do ypo know that the LED you do not | 01/01/70 00:00 | |
| RTC test | 01/01/70 00:00 |



