Yup, it does a lot of other things :-) Also, I couldn't find a way using the timers that would be as fast as 2MHz. Ron > > From: Russell McMahon > Date: 2004/11/29 Mon PM 08:04:33 EST > To: "Microcontroller discussion list - Public." > Subject: Re: [PIC]:Do I REALLY have a 2MHz square wave here? > > >I need to produce a 2MHz square wave on an output pin of a PIC16F876 > >running at 16MHz. I have written a program that seems to do the job (my > > > That sounds like a very expensive oscillator you have made. > Is there a reason t use a PIC for this. ie is this just a test mode and it > sometimes does other things instead, or is this the only task it does. if > the latter, there are far cheaper ways of doing this. Also, using counter > modules will allow the PIC to walk and chew gum as well. > > > RM > > > _______________________________________________ > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist