In SX Microcontrollers, SX/B Compiler and SX-Key Tool, DigitalDj wrote: Ok I understand better now ! I am somewhat familier with basic but it has been a while and i learn better by example. I had a heck of a time learning some visual basic. I am trying so don't anybody get frustrated[img]http://forums.parallax.com/forums/emoticons/idea.gif[/img], sometimes it comes hard for me at first but once i have it then i remember it. So i take it that the 4th number in the data control is the on time of the leds? I want the leds to stay on a little longer but have tried a couple of things but no luck, everything except a delay for next to create a delay. With Bean's program would you know what the output would look like on a scope? What i would prefer to do is pwm squarewave at about 1khz for the 3 outputs and if posible be able to change frequency to the different outputs. One other thing i would like to try sometime is to control the amplitude of the squarewave which would be considered amplitude pulsewidth modulation(but not a have to). I know i need to learn to program first. Thanks, Kevin ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=118695#m120567 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)