I believe it’s the color of the flame that dictates monoxide vs dioxide. If I remember right - When all of a fuel is burnt it’s a blue flame. This creates CO2 water and heat. When it’s a bright red orange flame this produces CO, CO2, water, and heat and is incomplete combustion.