Bruce is right that FS usually auto assigns a squawk code of 2200 (which is fine) however, Don't squawk 1200 unless you filed a VFR flight plan. If a controller signs on while you are inflight, they will assgin you another squawk code appropriate to their sector.