Olin Lathrop wrote: I couldn't follow all you were trying to say, but you can toggle a bunch ofport bits at once using the XORWF instruction. If the burst only needs tobe a few cycles long, you can inline a bunch of XORWF instructions and getan output frequency of oscillator/8. Longer bursts require a loop which would slow down the output frequency. Hy Olin, just to be more clear...... I hope. ____ ||____________________/ /__________||___________ trig / / _____|||||||||||||||||||||||||||______________________||||_________ _____|||||||||||||||||||||||_______________________ ||||||||||| _____||||______________________________ |||||||||||||||||||||||||||| 65535 pulses max _____||||||||||||||||||||||||||||||||||||__________________ |||||| _____|||||||||____________________________ |||||||||||||||||||||||||||||||| Maurizio > > ******************************************************************** > Olin Lathrop, embedded systems consultant in Littleton Massachusetts > (978) 742-9014, olin@embedinc.com, http://www.embedinc.com > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu -- Maurizio Viterbini Istituto di Fisica dell'Atmosfera Via Fosso del Cavaliere 100 00133 Roma Italy tel. +39 06 49934200 fax +39 06 20660291 email viterbin@ifa.rm.cnr.it -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu