Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with library dictionary #98

Open
imjinoh opened this issue Apr 22, 2024 · 1 comment
Open

Issue with library dictionary #98

imjinoh opened this issue Apr 22, 2024 · 1 comment

Comments

@imjinoh
Copy link

imjinoh commented Apr 22, 2024

First, thanks for great project.

I have issue with version 2.x.x. when trying to use arduinoFFT in ArduinoIDE.
This does not happen with version 1.6.2.

Device I am trying to use is M5stickC Plus2, esp32-pico-v3-02 base.

Please ignor m5 error. Is there something wrong with what I have done?
I have been trying for few days and it just does not work.

thanks.

C:\Users\HOME\Desktop\pano\evilClock-main\evilClock-main\evilClock\evilClock.ino:7:1: error: 'arduinoFFT' does not name a type; did you mean 'ArduinoFFT'?

arduinoFFT FFT = arduinoFFT();

^~~~~~~~~~

ArduinoFFT

C:\Users\HOME\Desktop\pano\evilClock-main\evilClock-main\evilClock\evilClock.ino: In function 'void setup()':

C:\Users\HOME\Desktop\pano\evilClock-main\evilClock-main\evilClock\evilClock.ino:14:6: error: 'class m5::M5Unified' has no member named 'Axp'

M5.Axp.ScreenBreath(9);

  ^~~

C:\Users\HOME\Desktop\pano\evilClock-main\evilClock-main\evilClock\evilClock.ino: In function 'void loop()':

C:\Users\HOME\Desktop\pano\evilClock-main\evilClock-main\evilClock\evilClock.ino:20:19: error: 'class m5::M5Unified' has no member named 'Axp'

 vReal[i] = M5.Axp.GetMicVoice();

               ^~~

C:\Users\HOME\Desktop\pano\evilClock-main\evilClock-main\evilClock\evilClock.ino:25:3: error: 'FFT' was not declared in this scope

FFT.Windowing(vReal, SAMPLES, FFT_WIN_TYP_HAMMING, FFT_FORWARD);

^~~

exit status 1

Compilation error: 'arduinoFFT' does not name a type; did you mean 'ArduinoFFT'?

@kosme
Copy link
Owner

kosme commented Apr 22, 2024

Hi. There were changes to the API with the new v2.x. You need to do some changes to your code. Check the wiki. It is explained there. Sorry for the inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants