Define constants on the headers file

pull/8/head
Enrique Condes 2017-04-25 13:01:06 -05:00
rodzic c69b76d2a9
commit 1b4d271f94
2 zmienionych plików z 24 dodań i 24 usunięć

Wyświetl plik

@ -21,9 +21,6 @@
#include "arduinoFFT.h"
#define twoPi 6.28318531
#define fourPi 12.56637061
arduinoFFT::arduinoFFT(void)
{
/* Constructor */

Wyświetl plik

@ -48,6 +48,9 @@
#define FFT_WIN_TYP_BLACKMAN 0x04 /* blackmann */
#define FFT_WIN_TYP_FLT_TOP 0x05 /* flat top */
#define FFT_WIN_TYP_WELCH 0x06 /* welch */
/*Mathematial constants*/
#define twoPi 6.28318531
#define fourPi 12.56637061
class arduinoFFT {
public: