ardupilot/Tools/ArdupilotMegaPlanner/CommsSerialPort.cs
Michael Oborne 2a75ffdd4c APM Planner 1.1.15
fix reset issue
add Circle AP Mode
change time to wait to 17 secs
2011-12-29 18:31:42 +08:00

21 lines
397 B
C#

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 = true;
System.Threading.Thread.Sleep(100);
DtrEnable = false;
}
}
}