Posted on April 14, 2003 at 13:37 Hi Florent.... i found the bug, PWMCR register does not mapping address correct in the .map file thanks for your help....
Posted on April 14, 2003 at 05:29Dear all: i can't get the wave form PWM1(PB.7) My_Init() SetBit (PBDDR ,7); //PB.7 --->output PWMCR = 0x20; // PWM1 (PB7) is selected ARTCSR = 0x78; // CPU clock, 62.5kHz, counter enabled PWMDCR1 = 0x00; somethin...