简体   繁体   English

8051未连接引脚

[英]8051 not connected pin

There is any software way to read state of the empty pin at the Port2 of the 8051 uC. 可以使用任何软件方法来读取8051 uC的端口2上空引脚的状态。 I mean that I need to read 0 on not connected pin of the 8051. My version of the 8051 doesn't have internal pullup resistors. 我的意思是我需要在8051的未连接引脚上读取0。我的8051版本没有内部上拉电阻。 Also I can't make any hardware change. 另外,我无法进行任何硬件更改。

if your pin was opened then he probably has different values after ADC, but it need check. 如果您的针脚已打开,则ADC之后他可能具有不同的值,但需要检查。 It can not right. 它不能正确。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM