Yoichi Nagashima
/
CQ_nagasm_08_notch_test
add 60Hz/50Hz notch filter
Diff: main.cpp
- Revision:
- 2:048d8bddb100
- Parent:
- 1:8fa2f521009a
diff -r 8fa2f521009a -r 048d8bddb100 main.cpp --- 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();