Timer frq set code of the openmv docs in chinese is not right for ide report. float freq is valid or not?

Different function call.

tim = Timer(2)
that is not valid :joy:

Hi, please stop using the pyb module. Please switch to machine timer: class Timer – control hardware timers — MicroPython 1.20 documentation