In SX Microcontrollers, SX/B Compiler and SX-Key Tool, djh82uk wrote: ok this has the same problem led just stays on (obviously this is not all the code, the rest is just declarations) Start: DO FOR duty = 0 TO 255 ' sweep through angles PWM DAC, duty, 250 ' charge RC network NEXT LOOP Nobody has said if i can even do this with just an led and a resistor? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=201629#m201857 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)