Software PWM library for Arduino