In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Cenlasoft wrote: Hello, I was given this code by Terry a while ago. This was to create a square wave. Device SX28, Oschs2, Turbo, OptionX, StackX Freq 50_000_000 OutPin Pin RA.0 Output Interrupt NOCODE 434_782 '217 khz OutPin =~ OutPin Returnint Program Start Start: End It works fine but is it possible to sweep a frequency range in this interrupt? I want to start at 180 khz and end at about 225 khz How many steps can this code do between the stated range? Thanks, Cenlasoft ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=331570 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)