private void BUT_compassmot_Click(object sender, EventArgs e) { MissionPlanner.MagMotor mot = new MissionPlanner.MagMotor(); mot.StartCalibration(); }