Photoresistive microring heater with resonance control loop