private static void ReadTelemetry(string comPort) { SerialTelemetryParser p = new SerialTelemetryParser(comPort); p.OnTelemetryMessage += OnSerialTelemetryMessage; p.Loop(); }
private static void ListComPorts() { foreach (string s in SerialTelemetryParser.GetComPorts()) { P(s); } }