0

我在 Intel Atom 处理器上运行我的应用程序。我的电脑没有问题,只有平板电脑。

Application.Run(new MyApp());

public MyApp()
{
  ...
  SerialPort port = new SerialPort(...)
  port.DataReceived += new SerialDataReceivedEventHandler(port_DataReceived);
  port.Open();
}

当我在我的 PC 上运行我的应用程序时,没有任何问题,而且我可以根据需要发送串行数据。但是,当我在平板电脑上运行它时,在启动大约一分钟后,串行端口关闭并且不再读取。我不确定如何调试它。

4

0 回答 0