sipeed / MaixPy-v1

MicroPython for K210 RISC-V, let's play with edge AI easier
https://wiki.sipeed.com/maixpy
Other
1.68k stars 439 forks source link

FFT not working #269

Closed valeumvale closed 4 years ago

valeumvale commented 4 years ago

I was on using the fft demo on v0.3.2, but then I wanted to try the speechRecognition demo and it didn't work because there is no speechRecognition file on 'modules', so i updated the firmware to v0.5.0_95_g05c4e70, which still didn't work and now the FFT demo that I was using on a script always returns 0 on the new firmware, and on the old the "force=true" used on fm.register() comands return as an error. Can someone help me?

image

valeumvale commented 4 years ago

Im using maispy dock and the script works on v0.3.2 if i remove the "force=true", but after I send it to the board as boot.py it doesn't run automaticly outside of Maix IDE

image

myuanz commented 4 years ago

Have a try about 0.5.0? May be a solved problem

valeumvale commented 4 years ago

Problem solved. I was using the latest 0.5.0, but I had comented "lcd.display(img)" because I didn't need the display but it looks like I can´t, I'll be changing be code so it doesn´t need a display.