cpufreq Pb with OpenMv H7 (V3.4.2)

General discussion about topics related to OpenMV.
User avatar
chrisPyres66
Posts: 138
Joined: Mon Jul 16, 2018 9:22 am
Location: France

cpufreq Pb with OpenMv H7 (V3.4.2)

Postby chrisPyres66 » Wed Jul 03, 2019 6:23 am

Dear All,

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

Code: Select all

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,
User avatar
iabdalkader
Posts: 1088
Joined: Sun May 24, 2015 3:53 pm

Re: cpufreq Pb with OpenMv H7 (V3.4.2)

Postby iabdalkader » Wed Jul 03, 2019 12:08 pm

Hi, the cpufreq module doesn't support the H7 yet, you should open a feature request issue on github.
User avatar
chrisPyres66
Posts: 138
Joined: Mon Jul 16, 2018 9:22 am
Location: France

Re: cpufreq Pb with OpenMv H7 (V3.4.2)

Postby chrisPyres66 » Thu Jul 04, 2019 3:29 am

User avatar
kwagyeman
Posts: 3727
Joined: Sun May 24, 2015 2:10 pm

Re: cpufreq Pb with OpenMv H7 (V3.4.2)

Postby kwagyeman » Tue Jul 09, 2019 1:48 am

Thanks!
Nyamekye,

Return to “General Topics”

Who is online

Users browsing this forum: MSN [Bot] and 4 guests