下图中,要点亮LED灯,CC2530正确的编程代码为( )。
(A)P1DIR &= ~0x01;P1_0 = 1;
(B)P1DIR &= ~0x01;P1_0 = 0;
(C)P1DIR |= 0x01;P1_0 = 1;
(D)P1DIR |= 0x01;P1_0 = 0;
参考答案
继续答题:下一题
(A)P1DIR &= ~0x01;P1_0 = 1;
(B)P1DIR &= ~0x01;P1_0 = 0;
(C)P1DIR |= 0x01;P1_0 = 1;
(D)P1DIR |= 0x01;P1_0 = 0;