feat/qw-scale-integration #9

Merged
kje97 merged 7 commits from feat/qw-scale-integration into master 2025-06-24 15:56:45 +09:00
Showing only changes of commit 832c7f9815 - Show all commits

View File

@ -145,7 +145,6 @@ Public Class weightForm
Private Sub Zero_Timer_Tick(sender As Object, e As EventArgs) Handles ZeroTimer.Tick
Dim scaledata As String
Dim weightValue As Double
Try
@ -284,7 +283,7 @@ Public Class weightForm
Private Sub QWSerialPort_DataReceived(sender As Object, e As SerialDataReceivedEventArgs) Handles QWSerialPort.DataReceived
Try
Dim incoming As String = QWSerialPort.ReadExisting()
Debug.Print("수신 데이터: " & incoming)
'Debug.Print("수신 데이터: " & incoming)
' 여러 줄이 들어올 있으니, 단위로 분리
Dim lines() As String = incoming.Split({vbCr, vbLf}, StringSplitOptions.RemoveEmptyEntries)