Pages: 1 [2]   Go Down
Author Topic: Frequency Measurement FFT, DFT  (Read 5998 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

               fft_input(capture, bfly_buff);
            fft_execute(bfly_buff);
            fft_output(bfly_buff, spectrum);


I tried to compiled the code in winstudio 4 but I have a compile error for these 3 lines.  They are defined in "ffft.h" but not in the main.c itself.

Please explain.
Thank you
Logged

UK
Offline Offline
Faraday Member
**
Karma: 16
Posts: 2883
Gorm deficient
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
spectrum[0] is the DC component of the input (ie. zero frequency).

Whoops! Of course - brain-fart. Apologies. :-[
Logged

Per Arduino ad Astra

0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

i should say first that i'm new to all of this.

what driver did you use for the LCD functions in the fft code you pasted?  I tried importing the LCD functions from arduino into avr studio and had a horrible time...

also, the data output to the uart, how do you monitor it with a computer?  i used processing to 'listen' over the USB COM port and got only "-1" sent repeatedly.

thank you!
Logged

Pages: 1 [2]   Go Up
Jump to: