下列选项中,正确定义单片机IO口的语句为

下列选项中,正确定义单片机I/O口的语句为

A.sbitP12=P1^2;

B.sbitP12=P1()2;

C.sbitP12=P1.2;

D.bitP12=P1^2;

正确答案:sbitP12=P1^2;

猜你喜欢