analogWrite() question

amorri21:
I guess the only problem is that the analogWrite doesn't work, the digitalWrite works beautifully though. What actually happens when I visit the analogWrite link mentioned above is that the led, which is in a low pass filter, flashes briefly and doesn't stay on.

Are you certain that you're accessing a pwm-capable pin? Which board are you using, and which pin number?