kopia lustrzana https://github.com/kosme/arduinoFFT
Define constants on the headers file
rodzic
c69b76d2a9
commit
1b4d271f94
|
@ -21,9 +21,6 @@
|
||||||
|
|
||||||
#include "arduinoFFT.h"
|
#include "arduinoFFT.h"
|
||||||
|
|
||||||
#define twoPi 6.28318531
|
|
||||||
#define fourPi 12.56637061
|
|
||||||
|
|
||||||
arduinoFFT::arduinoFFT(void)
|
arduinoFFT::arduinoFFT(void)
|
||||||
{
|
{
|
||||||
/* Constructor */
|
/* Constructor */
|
||||||
|
|
|
@ -48,6 +48,9 @@
|
||||||
#define FFT_WIN_TYP_BLACKMAN 0x04 /* blackmann */
|
#define FFT_WIN_TYP_BLACKMAN 0x04 /* blackmann */
|
||||||
#define FFT_WIN_TYP_FLT_TOP 0x05 /* flat top */
|
#define FFT_WIN_TYP_FLT_TOP 0x05 /* flat top */
|
||||||
#define FFT_WIN_TYP_WELCH 0x06 /* welch */
|
#define FFT_WIN_TYP_WELCH 0x06 /* welch */
|
||||||
|
/*Mathematial constants*/
|
||||||
|
#define twoPi 6.28318531
|
||||||
|
#define fourPi 12.56637061
|
||||||
|
|
||||||
class arduinoFFT {
|
class arduinoFFT {
|
||||||
public:
|
public:
|
||||||
|
|
Ładowanie…
Reference in New Issue