i cant seem to find the fft.h library on the library manager, anybody can help me out?
Hi @jamplang. There might be multiple libraries with a header file of that common and generic name. We will need more information in order to effectively assist you.
I'm guessing you must have found the code that references this fft.h
file somewhere on the Internet. Please reply here with the link to where you found that code. That might provide the helpers here with valuable context.
this is the code reference https://github.com/imagest108/arduino/blob/master/libraries/ArduinoFFT/FFT/FFT.h
There is no need to use the library manager. The FFT library code can downloaded and placed in the Arduino sketch folder, or the local Arduino "libraries" folder.
In case it will be helpful, I'll provide full instructions for the manual installation procedure for libraries such as this one that are not in the Arduino Library Manager.
Whenever possible, you should use Arduino IDE's "Add .ZIP Library..." feature to install libraries. Unfortunately the ZIP file available for this library doesn't have the required structure for use with that installation method. So in this case it is necessary to do a fully manual installation:
- Start Arduino IDE if it is not already running.
- Select File > Preferences... from the Arduino IDE menus.
The "Preferences" dialog will open. - Take note of the path shown in the "Sketchbook location" field in the "Preferences" dialog.
- Click the CANCEL button.
- Click the following link to open the documentation page for the library in your web browser:
ArduinoFFT - Open Music Labs Wiki
ⓘ I realize this is a different source from the one you indicated. However, the repository you linked to appears to only be someone's random backup of their sketchbook folder. I think it will be better to obtain the library directly from its creator. - Click the "Arduino FFT library (V3.0)" link on that page.
An "Attachment 'ArduinoFFT3.zip'" page will open in your browser. - Click the "Download" link in the "Attachment 'ArduinoFFT3.zip'" page.
A file download process will start. - Wait for the download to finish.
- Unzip the downloaded
ArduinoFFT3.zip
file. - Use your file manager (e.g., Windows "File Explorer", macOS "Finder") to copy the
FFT
subfolder of the unzipped folder to thelibraries
subfolder of the folder at the path you saw in the "Sketchbook location" IDE preference.
The folder structure of the installation should look like this:
<sketchbook location>/
├── libraries/
│ ├── FFT/
│ │ ├── FFT.h
│ │ ...
│ ...
...
(where <sketchbook location>
the path from the "Sketchbook location" IDE preference)
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.