Ac and temp sensor?

Yesterday I was driving with the ac on and it was working fine. When I left work, after the car sat for about 4 hours, the temperature readout under the speedo said it was -38 degrees. When I press the button to turn the ac on it blinks 3 - 4 times and goes out. The ac is not working. But if I let the car cool down for 3-4 hours the temp sensor and ac are fine. Anyone else have this happen??

I assume the temperature sensor you are talking about is for the outside temperature reading. I would check for a faulty power connection to those areas as the possible source of trouble.

Thanks, I will probably take this to the dealer.