End Sub
Private Sub Command1_Click()
Cmd_array = &H0
MSComm1.Output = Chr(Cmd_array)
a = 120
b = 100
MSComm1.Output = Chr(a)
MSComm1.Output = Chr(b)
Label1.Caption = 220
HScroll1.Value = 220
End Sub
Private Sub Command2_Click()
Cmd_array = &H0
MSComm1.Output = Chr(Cmd_array)
a = 100
b = 50
MSComm1.Output = Chr(a)
MSComm1.Output = Chr(b)
Label1.Caption = 150
HScroll1.Value = 150
End Sub
Private Sub Command3_Click()
Cmd_array = &H0
MSComm1.Output = Chr(Cmd_array)
a = 40
b = 40
MSComm1.Output = Chr(a)
MSComm1.Output = Chr(b)
Label1.Caption = 80
HScroll1.Value = 80
End Sub