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).
定时器2的时钟源到底是84Mhz,还是84hz啊。中文手册里是84hz。但是有个博主的代码,配置定时器1(时钟源168hz) 它的工作频率是0.2Mhz。
https://docs.singtown.com/micropython/zh/latest/openmvcam/library/pyb.Timer.html#pyb-timer
以文档为准。
只需要传入freq参数设置频率就行。