ceiling fan wiring help
Hi everyone. I'm installing a ceiling fan with light, that is replacing an existing ceiling fan with light. I need help with the wiring:
The fan has the following: BLACK=fan motor, BLUE=light, WHITE=neutral.
My wires from the ceiling box are BLACK, RED, WHITE, GROUND. I didnt label my ceiling wires because I'm not sure what they do. When the old fan/light was hooked up, the one switch in the room operated the light, and the fan operated completely independent of the switch. It was hooked up as BLACK-BLACK, WHITE-WHITE, BLUE-RED. The old fan has the BLACK labeleld as light.
I want the switch to control both fan and light. What are your suggestions on the connections?