In that case, you would save a lot of money by using a microcontroller. The entire circuit would be the micro (about $.50), the switch, one transistor, one resistor, and one capacitor. Smaller board area and less component cost. And far more flexible. Simple changes in programming could...