【文件属性】:
文件名称:Goertzel:Goertzel算法的Arduino库实现
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-14 22:10:38
格策尔
Goertzel算法的Arduino库实现
例子
void loop ()
{
goertzel. sample (sensorPin); // Will take n samples
float magnitude = goertzel. detect (); // check them for target_freq
if (magnitude>THRESHOLD) // if you're getting false hits or no hits adjust this
digitalWrite (led, HIGH); // if found, enable led
else
digitalWrite (led, LOW); // if not found, or lost, disable led
Serial. prin
【文件预览】:
Goertzel-master
----Goertzel.h(1KB)
----Contributors.md(27B)
----examples()
--------detect()
----package.json(562B)
----readme.md(594B)
----Goertzel.cpp(2KB)
----keywords.txt(388B)