<reponame>708yamaguchi/MaixPy_scripts<filename>hardware/demo_cpu.py
from Maix import freq

cpu_freq, kpu_freq = freq.get()
print(cpu_freq, kpu_freq)

freq.set(cpu = 400, pll1=400, kpu_div = 1)




from Maix import freq

cpu_freq, kpu_freq = freq.get()
print(cpu_freq, kpu_freq)

freq.set(cpu = 400, pll1=400, kpu_div = 1)