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).
做电机测试的时候,P0P1口没有高低电平输出,怎么解决,没有发现原因,P3P4口高低电平输出正常
去掉全部连线,运行这个代码,看看引脚能否控制,如果不能,就联系售后检查。
from pyb import Pin pin0 = Pin('P0', Pin.OUT_PP, Pin.PULL_NONE) pin1 = Pin('P1', Pin.OUT_PP, Pin.PULL_NONE) while(True): pin0.value(1) pin1.value(0)