EnableOnComm
Previous
Next
Gets or sets whether the OnCom event will be raised when data is received.
Syntax: EnableOnComm
Example:
Sub
App_Start
...
serial1.EnableOnComm = true
End
Sub
Sub
serial1_OnCom
...use data
End
Sub