In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: You cannot create an even (50% duty cycle) 10MHz waveform from a 50Mhz clock. You would need to make the pin high for 2.5 clocks, then low for 2.5 clocks. You could try making it high for 2 cycles, then low for 3 cycles (40% duty cycle). I'm not sure what the atmel chips require for a clock duty cycle. You can't use interrupt, because there is too much overhead in the interrupt call and return. You MIGHT be able to do it with the SX48 with the hardware timers. I've never tried to make an output switch that fast. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=141279#m141299 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)