Wrote a preliminary psudocode for a PWM output in pwm.c