On Sun, 2004-08-22 at 12:07, Jean-Michel Howland wrote: > Herb, I did this several months ago on my dev kit using assembler and it > produced way way over 50kHz. I'll try and setup the dev board on my bench > this week and give you an exact number. > > Regards > Jean-Michel. Well, for what it's worth, I was able to speed it up slightly by doing the following: PA_DR |= (byte)0x80; Weird how you have to prod the compiler to generate something it should have inferred fro the PA_DR register which is only 8 bits. Still, even with that, I only get a speed of 250kHz, still WELL below what I'd expect of a processor running at 50MHz, that's still 200 cycles just to flip a bit back and forth. TTYL ----------------------------- Herbert's PIC Stuff: http://repatch.dyndns.org:8383/pic_stuff/ -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body