Returned main.c back to its original form.
Merge remote-tracking branch 'origin/pwm' into integration