Be sure to click 'more' and select 'suggest as answer'!
If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!
http://www.edn.com/design/analog/4363990/Control-an-LM317T-with-a-PWM-signal