官网给的光源拓展板的例程会报错?
-
import time from pyb import Pin, Timer # 50kHz pin6 timer2 channel1 light = Timer(2, freq=50000).channel(1, Timer.PWM, pin=Pin("P6")) light.pulse_width_percent(100) # 控制亮度 0~100 while (True): time.sleep_ms(1000)
-
https://singtown.com/openmv-download/
下载新的IDE,更新到新的固件。