Reformatted tabs to spaces
Removed FILE stream code before implementing own IO solution
Added code to handle external switch to toggle LED.
Added code to configure unused pins as inputs with pull-ups enabled.
Changed LED output to phase correct PWM so that they'll actuall turn off with a 0 setting.