Ceiling Light Fixture and Wiring Configuration
I am trying to replace a single light bulb fixture with a fluorescent fixture. When I disconnected the old bulb I found there were two black wires that were connected together, two white wires that were connected directly to the bulb and a red wire connected to the bulb. When I pulled the switch I found a black and red wire coming off it. I believe this configuration is connected with an outlet too because when I disconnected the old bulb an outlet stopped working. My question is what wires do I connect to the fluorescent fixture? I tried connecting it just how I disconnected it from the bulb and that does not work. Thank you for your help!