ardupilot/Tools/ArdupilotMegaPlanner/CommsSerialPort.cs

21 lines
397 B
C#
Raw Normal View History

2011-09-08 22:31:32 -03:00
using System;
using System.Collections.Generic;
using System.Text;
using System.IO.Ports;
using System.IO;
namespace ArdupilotMega
{
class SerialPort : System.IO.Ports.SerialPort,ICommsSerial
{
public void toggleDTR()
{
DtrEnable = false;
System.Threading.Thread.Sleep(100);
DtrEnable = true;
}
2011-09-08 22:31:32 -03:00
}
}