I am using VB6 to communicate with an Arduino microcontroller through the MSCOMM32 DLL.
It is working great, however, I am having trouble isolating each instance of information to process, one at a time.
I don't have the code with me right now, but I basically have a loop on the board that is sending information out the serial port with the serial.print command. Example "something like this": x = 1 Void Loop Serial.Print x x = x + 1
Anyhow, instead of having, say, "1" in the comm buffer on the first cycle of the Arduino loop, I may have 1234 all at once, etc. But, I just need the "1" first, "2" 2nd, etc. on the VB end in order to process each value. It is as if the information is overrunning the mscomm32 buffer too quickly.
Any ideas on how to overcome this? ie, parsing, handshaking, or some other way I need to be sending the info out from the board?
Thanks in advance for you help. Coby.