??? 08/03/05 13:42 Read: times |
#98761 - Code & mistake Responding to: ???'s previous message |
hai,
sorry for wrong input (Timer1 is used for waveform generation) during initializaion when mode2 is used TMOD = 0x02; //Mode2 selection TL1 = 0x0E3; TH1 = 0x0E3; void timer1_isr interrupt 3 using 2 { P1_3 = ~P1_3; //Port 1.3 is used for wave form generation } when mode1 is used TMOD = 0x01; //Mode1 selection TL1 = 0x0E3; TH1 = 0x0FF; void timer1_isr interrupt 3 using 2 { P1_3 = ~P1_3; //Port 1.3 is used for wave form generation TL1 = 0x0E3; TH1 = 0x0FF; } |
Topic | Author | Date |
16KHz generation | 01/01/70 00:00 | |
Code ? | 01/01/70 00:00 | |
Code & mistake | 01/01/70 00:00 | |
it is always a bad idea to make a port p | 01/01/70 00:00 | |
Solved | 01/01/70 00:00 | |
once bitten, twice shy T2OUT and the PCA | 01/01/70 00:00 | |
Timer2![]() | 01/01/70 00:00 |