-----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Hasan Khan Sent: Friday, December 26, 2008 1:32 PM To: PIC List Subject: [PIC] How to do switch debounce quick enough >Hi, >Well, I am finally moving from hobby to pro zone. I got a simple project >where I have to design a triac based ac power controller with two push >buttons, one to increase power to triac and one to decrease power. Power >level is displayed on a single 7-seg display. Do you need to debounce at all? If you are changing the time delay from zero crossing to triac on by adding of subtracting to a variable will it matter? If the step is small and the loop "tight" perhaps bounce wont show up to the user. If the step is 10% at a time based on the display then I see the need to debounce. How about a smaller step and the display flashes to show a button is down to provide feedback. Or is the display even needed, can the user determine output from the device being controlled? FWIW this free advice is likely worth the cost at best. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist