Update main.c

PWM polarity and clock selection updated for channel 2.