Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
需要一个引脚一会儿输出一个信号,一会儿输入一个信号,是需要靠不断改变引脚工作方式实现吗,或者有啥其他可行的办法吗
代码和硬件可以动态切换,重新初始化就行。但是不推荐。