Nếu như bạn cho mỗi lần đọc hiển thị lên một textbox theo như câu hỏi thì biết bao nhiêu textbox cho đủ!

Ở đây, bạn muốn hiển thị tốc độ động cơ lên thì chương trình vi điều khiển bạn cứ print chuỗi tốc độ lên bình thường. Trong C# bạn tạo 1 textbox để nhận giá trị này.
Câu lệnh trong C# đơn giản là:
Code:
private string receive = null;
private delegate void updateDataGrid();
public void installDelegateUpdateDownloadTable()
{
Motor_Speech.Text = receive;
}
private void ComPort_DataReceived(object sender, SerialDataReceivedEventArgs e)
{
receive = ComPort.ReadLine();
updateDataGrid updateDownloadTable = new updateDataGrid(installDelegateUpdateDownloadTable);
Motor_Speech.Invoke(updateDownloadTable);
}
// Lưu ý ở đây bạn phải tạo và khai báo lớp Serial Port (ComPort). Là lớp giao tiếp qua cổng COM.
Hoặc có thể thay Textbox bằng RichTextbox để hiển thị được nhiều hơn, cũng như có thể lưu file giá trị hiển thị đó vào thư mục tùy chọn.