Effect of heat treatment on synthetic carbon precursors