Update main.c

just changed Vcc for 50hz mode and GND for 60hz mode.