In SX Microcontrollers, SX/B Compiler and SX-Key Tool, djh82uk wrote: Ah sorry i stole that code from the pwm example. I did try just pwm with a duty between 1 and 255 and the duration as 1000 the led comes on but thats it no variance in brightness, always the same brightness regardless of duty. Also can this not be done with just a reisitor and led as on the picaxe series of chips (basically a pic chip with a bootloader) Thanks DJH ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=201629#m201810 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)