你好,我们在用 keyfob 调试时,发现如标题所示问题:无法配置 P0_1为低电平,
//*gjy
P0SEL |= BV(0); // Configure Port 0 p0.0 as Peripheral
P0SEL &= ~ BV(1);// Configure Port 0 p0.1 as GPIO
//P0DIR &= ~ BV(0); // Port 0 pins P0.0 as input
P0DIR |= BV(1);//Port 0 pins P0.1 as output
//P0_1 = 0; // Tell Ap I'm Ok