This 2014 Hyundai Elantra came in with the complaint that the a/c does not get cold. I was told that the compressor was not turning on. Although a little scattered, I check out the reasons why.
hello i noticed when you slightly turned the ignition on the oil pressure light and battery light where both on , earlier today both like turned on and caused my 2014 hyundai elantra to stall out it showed both of those lights and the rpm fully went to zero and it basically turned off itself
Anytime the ignition is on but the engine is off those lights will be on and the tach will be at zero. My experience tells me that your engine stalled first and this caused the lights to be on and the tach to go to zero. I would be looking for vacuum leaks and loose connectors first. Then check to see if any codes have been stored.