https://docs.singtown.com/micropython/zh/latest/openmvcam/library/pyb.Pin.html 可以开启芯片内部上拉电阻。