Looking for some help please.
Writing a visual basic 2012 program to take data from an Arduino Mega connected to one of my companies robots.
This is new territory for me !
Have the serial port connecting fine and downloading the data, all working great.
However is would like the program to scan the serial ports on the PC and "ping" each one for a Arduino Mega chip.
This is what i have at the moment, the question is what do i replace the X with to get a responce from the ship, and what would that responce be ?
Thanks in advance for any help and advice.
.PortName = ComPort
.BaudRate = 19200
.Parity = IO.Ports.Parity.None
.DataBits = 8
.StopBits = IO.Ports.StopBits.One
.ReceivedBytesThreshold = 1