https://docs.singtown.com/micropython/zh/latest/openmvcam/library/pyb.html 如果不想卡,那就在while循环里通过pyb.millis()写if判断是否到达500ms就行。