mirror of
https://github.com/cnlohr/lolra.git
synced 2026-06-15 07:19:25 +00:00
Update calculator to handle goertzel
This commit is contained in:
@@ -68,7 +68,7 @@ SOFTWARE.
|
||||
#include "ssd1306.h"
|
||||
|
||||
|
||||
#define PWM_PERIOD (31-1) //For 27.0MHz, use 36MHz if quadrature -- It appears to be good for *244 in the table? WHY 26MHz???!?!!?
|
||||
#define PWM_PERIOD (31-1)
|
||||
|
||||
#define ADC_BUFFSIZE 512
|
||||
|
||||
@@ -83,7 +83,6 @@ const int32_t g_goertzel_omega_per_sample = 1238618695; // 47/256 -> 27.01920 MH
|
||||
const int32_t g_goertzel_coefficient = 870249096;
|
||||
const int32_t g_goertzel_coefficient_s = 1963250500;
|
||||
|
||||
|
||||
#define LOG_GOERTZEL_LIST 256
|
||||
int32_t gertzellogs[LOG_GOERTZEL_LIST*2];
|
||||
int gertzellogs_head;
|
||||
|
||||
Reference in New Issue
Block a user