Hello all.
I am having problems finding out if there is a way for VB to auto detect the incoming baud rate.
If you guys know anything about Microcontrollers, this page might give you a better background as to what I'm doing:
I developed a boot loader for PIC processors. The problem is that the PIC can operate at different speeds (20MHz all the way down to 32kHz). So the serial communication can change from 200kbps down to 400bps.
What I'd like to do is have the PIC send out the character 'x' to the computer. The VB application, knowing that it has received the character x at some unknown speed, extrapolates the comm speed based on the timing between the 1s and 0s. This is not hard with a microcontroller but it is a tall order for my limited VB/Windows programming. Can anyone at least tell me "No, VB can only handle 9600bps*N comm speeds"?
I am much obliged to any/all who can offer advice.
-Nathan
I am having problems finding out if there is a way for VB to auto detect the incoming baud rate.
If you guys know anything about Microcontrollers, this page might give you a better background as to what I'm doing:
I developed a boot loader for PIC processors. The problem is that the PIC can operate at different speeds (20MHz all the way down to 32kHz). So the serial communication can change from 200kbps down to 400bps.
What I'd like to do is have the PIC send out the character 'x' to the computer. The VB application, knowing that it has received the character x at some unknown speed, extrapolates the comm speed based on the timing between the 1s and 0s. This is not hard with a microcontroller but it is a tall order for my limited VB/Windows programming. Can anyone at least tell me "No, VB can only handle 9600bps*N comm speeds"?
I am much obliged to any/all who can offer advice.
-Nathan