Hi. i have arduino filter library installed in my IDE software...i want to use low pass filter with cutoff frequncy Fc = 9 HZ ...also there is no butterworth filter ... so i will use Chebychev....but how to set the Fc and the bandwidth of filter ..need some help pls
the example code
#include <SignalFilter.h>
SignalFilter Filter;
int value;
int filtered;
void setup()
{
Serial.begin(9600);
Filter.begin();
Filter.setFilter('c');
Filter.setOrder(1);
}
void loop()
{
value = analogRead(A0);
filtered= Filter.run(value);
Serial.print("In: ");
Serial.print(value);
Serial.print(" - Out: ");
Serial.println(filtered);
delay(500); //make it readable
}