mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
ADD: added a simple averging filter function. input parameter K, can be 1 to 8
ref: http://www.edn.com/design/systems-design/4320010/A-simple-software-lowpass-filter-suits-embedded-system-applications
This commit is contained in:
parent
7aa24806f4
commit
4c543dbd3f
3 changed files with 37 additions and 7 deletions
|
@ -2417,7 +2417,10 @@ int Cmdhex2bin(const char *Cmd)
|
|||
}
|
||||
|
||||
int CmdDataIIR(const char *Cmd){
|
||||
iceIIR_Butterworth(GraphBuffer, GraphTraceLen);
|
||||
|
||||
uint8_t k = param_get8(Cmd,0);
|
||||
//iceIIR_Butterworth(GraphBuffer, GraphTraceLen);
|
||||
iceSimple_Filter(GraphBuffer, GraphTraceLen, k);
|
||||
RepaintGraphWindow();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue