Added Flame Detector 1 code