public static void Main() { SerialPort port = new SerialPort("COM57", 9600, Parity.None, 8, StopBits.One); port.Open(); port.Write("Starting IMU"); IMU myImu = new IMU(); while (true) { Console.WriteLine("Waiting"); System.Threading.Thread.Sleep(1000); } }