I'm having difficulty sending an integer to a serial port... I'm trying stuff like this, which run fine but I'm not picking anything up at the port.
Private Sub fireToPort()
Dim sPort As New SerialPort("COM1", 56000, Parity.None, 8, StopBits.One)
sPort.Open()
sPort.Write(New Byte() {Hex(1), 255}, 0, 0)
sPort.Close()
End Sub
Any advice?