I am using LM324N as a comparator which has Reference voltage of 1.2V to +ve terminal. It requires supply voltage VCC=24V & VEE=Gnd.When input is 0V Vout=24 and when input= above reference voltage Vout=24v.
Here is the
The problem is that lm324n datesheet
IC is getting over heated and burning at VCC and Gnd pin.