在哪里可以找到使用通用 Windows 应用程序阅读 Serial/UART 的工作示例?

Where can I find a working example for Serial/UART reading with Universal Windows Application?

我发现最接近工作的例子是:https://github.com/ms-iot/samples/tree/develop/SerialUART/CS .
但是这个在阅读时非常有问题。

视频:http://sendvid.com/zsc1o78p

我正在使用这个简单的 arduino 代码进行测试。

int x = 0;    
void setup() {
  Serial.begin(9600);  
}

void loop() {     
  x++;
  Serial.println("Halloooooooo" + String(x));     
  delay(300);
}

有什么建议吗?

我通过减少 serialPort.ReadTimeout .