This morning when I went to start my truck a weird thing happened. When I turned the key all I got was just a click like the batteries were dead. I tried again and she started right up. The check engine light came on, the trip meter reverted back to the odometer, and the over head reset itself. Drove to work, let the truck sit all day and she started right up. The check engine light was still on. I cycled the key a couple of times, restarted her and the cel went out. Anyone have any idea why this happened.