P0、P1口作输入用途之前必须()A.相应端口先置1B.相应端口先置0C.外接高电平D.外接上拉电阻
P0、P1口作输入用途之前必须()
A.相应端口先置1
B.相应端口先置0
C.外接高电平
D.外接上拉电阻
参考答案和解析
相应端口先置1
相关考题:
单片机复位时作如下初始化操作( ) A.PC=0000, SP=00,P0=00,P1=00,P2=00,P3=00B.PC=0030, SP=07,P0=00,P1=00,P2=00,P3=00C.PC=0000, SP=07,P0=FF,P1=FF,P2=FF,P3=FF
单片机复位后,SP、PC、I/O口的内容为( ) A.SP = 07H PC = 00H P0 = P1 = P2 = P3 = FFHB.SP = 00H PC = 0000H P0 = P1 = P2 = P3 = 00HC.SP = 07H PC = 0000H P0 = P1 = P2 = P3 = FFHD.SP = 00H PC = 00H P0 = P1 = P2 = P3 = 00H
单选题在吹气式液位传感器中,设平衡室压力为P1,导管压力为P2,变送器输出压力为P0,当液位升高时,这三者之间的关系是()。AP2>P1,P0增大BP2<P1,P0减小CP2=P1,P0增大DP2=P1,P0减小