Exemple #1
0
 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);
     }
 }
Exemple #2
0
        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);
            }
        }