Yoichi Nagashima
/
CQ_nagasm_08_notch_test
add 60Hz/50Hz notch filter
Revision 2:048d8bddb100, committed 2014-12-20
- Comitter:
- nagasm
- Date:
- Sat Dec 20 02:08:03 2014 +0000
- Parent:
- 1:8fa2f521009a
- Commit message:
- revised
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Dec 16 23:41:53 2014 +0000 +++ b/main.cpp Sat Dec 20 02:08:03 2014 +0000 @@ -8,7 +8,7 @@ xbee.baud(38400); xbee.attach(&rx_fifoset, xbee.RxIrq); timer_setup.attach_us(&timer_interrupt, 5); // 5usec - notch_1 = notch_2 = 60; + notch_1 = notch_2 = 1; coef_set(60); // Ham notch filter set while(1){ tx_fifo_check();