>I always wanted to do an AC-PWM type of dimmer. >Never read anything against, nor in favor. You can read about one, in this thread: [PIC]: Squirrel cage fan motor or heater control (xfan1) which implements it for an interrupt-less 12C508 (can use 16F84 oe 628 for testing). The thread is from March 2002. A simpler one can be built using a programmable CMOS counter. Peter -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads