In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJMonty wrote: I know that in a previous post you mentioned you were working on a Space Invaders style game. Is this question related to that project? I ask because if it is, you don't probably don't need to be able to generate [i]any[/i] duty cycle square wave at [i]any[/i] frequency. You probably need some specific frequencies with specific duty cycles. I mention this because people often try and engineer a solution to cover a huge problem, when in fact they are trying to solve a much smaller problem and should concentrate on that. Having said that, let's look at your question. The most important piece of information you left out is what are the highest and lowest frequencies you want (need) to generate? Without knowing that super critical bit of information, it's impossible to give you the best answer. It's like saying you want to make a car. Fine, but without knowing the speed range, you could be building a Formula 1 race car or a Honda Civic. So, what is your frequency range? Thanks, PeterM ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=435308#m435709 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2010 (http://www.dotNetBB.com)