cpufreq Pb with OpenMv H7 (V3.4.2)

Dear All,

I dont manage to get worked the cpufreq, here is the code :

import sensor, image, time, cpufreq

print(cpufreq.get_supported_frequencies())
cpufreq.set_frequency(200) #100 and 200 does not work
print( cpufreq.get_current_frequencies() )

sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.VGA)
sensor.skip_frames(time = 2000)

clock = time.clock()

while(True):
    clock.tick()
    img = sensor.snapshot()
    print(clock.fps())

Thanks for help,

Hi, the cpufreq module doesn’t support the H7 yet, you should open a feature request issue on github.

Thanks!