docs: 수신데이터 확인용 Debug.print() 비활성화
This commit is contained in:
parent
eb2365ffe7
commit
832c7f9815
@ -145,7 +145,6 @@ Public Class weightForm
|
|||||||
|
|
||||||
Private Sub Zero_Timer_Tick(sender As Object, e As EventArgs) Handles ZeroTimer.Tick
|
Private Sub Zero_Timer_Tick(sender As Object, e As EventArgs) Handles ZeroTimer.Tick
|
||||||
Dim scaledata As String
|
Dim scaledata As String
|
||||||
Dim weightValue As Double
|
|
||||||
|
|
||||||
Try
|
Try
|
||||||
|
|
||||||
@ -284,7 +283,7 @@ Public Class weightForm
|
|||||||
Private Sub QWSerialPort_DataReceived(sender As Object, e As SerialDataReceivedEventArgs) Handles QWSerialPort.DataReceived
|
Private Sub QWSerialPort_DataReceived(sender As Object, e As SerialDataReceivedEventArgs) Handles QWSerialPort.DataReceived
|
||||||
Try
|
Try
|
||||||
Dim incoming As String = QWSerialPort.ReadExisting()
|
Dim incoming As String = QWSerialPort.ReadExisting()
|
||||||
Debug.Print("수신 데이터: " & incoming)
|
'Debug.Print("수신 데이터: " & incoming)
|
||||||
|
|
||||||
' 여러 줄이 들어올 수 있으니, 줄 단위로 분리
|
' 여러 줄이 들어올 수 있으니, 줄 단위로 분리
|
||||||
Dim lines() As String = incoming.Split({vbCr, vbLf}, StringSplitOptions.RemoveEmptyEntries)
|
Dim lines() As String = incoming.Split({vbCr, vbLf}, StringSplitOptions.RemoveEmptyEntries)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user