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).
encoder2 = Pin('P3', Pin.OUT_PP) extint1 = pyb.ExtInt(encoder1,pyb.ExtInt.IRQ_RISING_FALLING,pyb.Pin.PULL_UP, EncoderCount)
请提供全部源码。
具体是什么硬件?