add button sample using digital filter and timer