Description: Use RS-232 Com port send and receive data Private Sub btnOpenCOM_Click() //設定Com Port 號碼 MSComm1.CommPort = CInt(txtCOM.Text) //Set Dataformat MSComm1.Settings = "9600,n,8,1" //開啟Com Port MSComm1.PortOpen = True End Sub
Platform: |
Size: 5120 |
Author: Dan Huang |
Hits: