Added pwm.h.
Bug fixes.