Read up closer on how to do a timer interrupt, use a small ISR to generate your signal, and anything not related to that signal can be done in the main program. I don't think that'll add glitching if done properly. I'm not seeing anything in your post that would suggest that this isn't possible. I don't think you really need a second crystal unless the prescale & postscale won't get you your target frequency with the present crystal, and there might be ways around that too. You shouldn't need a second PIC for that. Jeff ----- Original Message ----- From: Andre Abelian > I need to drive 4 outputs the sequence I do not yet > but I know the speed is 60 hz continuously none stop unless there is some > thing > wrong with it and at the same time > I have to do AD conversion and some other basic functions > bit test and bla bla. I am thinking to use timer1 with second > crystal just to do the 60hz pulsing but then I am king of afraid of > adding glitches or other unknown problems in 60hz loop or maybe easier way > to do it by using 2 pics or so. my question is which method should I use? > can single pic can do this how should I setup? any help will > highly appreciated. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics