Updated to use the SparkIntervalTimer

Updated to use the SparkIntervalTimer and added custom PWM control