From: "Sergey Dryga" > PIC10F* should fit the bill. Any logic you want to implement. > > Sergey > I liked the idea, except that I'll have to use a 12F because my compiler does not support 10F, but since that's a one time deal, no big problems betweem 50 cents and 1 dollar. So, my program would have one line only in its main loop: OUTPUT = RF_PWM and not CTRL or CTRL and PIC_PWM; It is simple enough and I've already tested on my 18F452 (at least on my simulator) and logic works exactly as I want. How couldn't I think of this by myself? Cheers Padu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist