2006 Charger engine light turned on in cold weather and took time to start up? on 2006 Dodge Charger

Tried to turn the key to start and took a bit before it turned on then the engine light turned on?

Asked by for the 2006 Dodge Charger
have the code pulled and give us that number so we can further help you

I found that the engine light turning on is due to a sensor, ordered the part waiting for the part. Thanks.
what sensor?? what code?? remember, a code does not identify a bad part just a failed system. before throwing parts at it, make sure the part is bad.