Suggestion:
Roast gram flour on low-medium flame. Stir till the bottom of pan making sure gram flour doesn't stick to the pan.
Ghee to be added in gram flour should be hot appropriately.
To make delicious Mysore pak stir the batter constantly and quickly. The moment batter puffs up and there is change in color then pour it in plate and set it.
Make sugar syrup. For this take sugar in any utensil with heavy base and add ½ cup water. Cook until sugar melts completely.
Take out gram flour in any utensil, add half the quantity of oil into it and make a batter. Take ghee in a pan and place it on flame for heating. After ghee melts add rest of the oil as well. Check the syrup, for this take 1 drop of syrup and place it in a bowl. With help of forefinger and thumb stick the syrup it used form one thread, sugar syrup is ready.
Add gram flour batter in syrup and stir constantly. Make sure that batter doesn't stick to the pan. With help of spoon add little amount of hot ghee in pan with gram flour batter. Roast and stir constantly. Keep the flame low-medium only. Keep adding the ghee in batter with help of spoon. Gram flour will start appearing puffy and color will change too. When batter gets puffs, that means mysore pak is ready.
Grease the plate or tray to be used for setting the Mysore Pak. Pour the piping hot gram flour in plate and tap it so that it gets even. Within 5-10 minutes Mysore pak gets frigid. Cut Mysore pak into any shape of your preference and separate out the pieces once Mysore pak gets frigid. Mouth watering Mysore pak is ready.
Store Mysore pak in air tight container and enjoy eating for a month.