The little sketch example for pwmWrite() in
http://leaflabs.com/docs/lang/api/pwmwrite.html#lang-pwmwrite
is not correct. BOARD_LED_PIN is NOT a PWM pin on any of the maples. And the pinmode should be PWM not OUTPUT. The examples/analog/fading sketch is correct, using pin 9 in PWM mode.
Also, I measure the PWM frequeny at 549 Hz. The documentation at
http://leaflabs.com/docs/lang/api/analogwrite.html#difference-4-pwm-frequency
says 1100Hz. (72000000/2/65536)