예제 #1
0
파일: IMU.cs 프로젝트: MorgThom/sos-sub
 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);
     }
 }
예제 #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);
            }
        }