Hi, Regarding my previous problem (see "PIC18F452 and NPN transistor to control PWM flow"), I've decided to go with two AND gates to let pass only one signal out of two, and then I'll use an OR gate to merge the two outputs into one wire. My question: are there any chips that encapsulate at least 2 AND gates and 1 OR gate in only one package? The perfect chip would be one with 2 ANDs, 1 OR and 1 NOT, but since I already have two traces to control the two AND gates, the NOT is dispensable. Cheers Padu PS: Please apologize and disregard my previous untagged message. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist