This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于CC2530的Timer4 输出 PWM的问题

Other Parts Discussed in Thread: CC2530

 本人想让CC2530的Timer4控制P1.1输出PWM,以下是本人的程序

#include <iocc2530.h>

void main(void)
{
     P1DIR = 0x02;
     P1SEL = 0x02;
     P2SEL |= 0x10;

     T4CC0 = 0x80;
     T4CC1 = 0x50;


    T4CCTL1 = 0x21;
    T4CTL = 0xF2;
}

不知道为何没有反应,跪求大神