Hi I'm trying to control my basic stamp 2 in real time to move servos from a visual basic
program through Basic Stamps serial programming port the same way it does in GUIBOT
program·I found in parallax site.
The problem is that although I succesfully have send·serial data using the P16 I cannot
sent back data to PC. Can I guess that the out port from bs2 is P17 or I'm wrong?
I need the out port from the serial programming port to modify the code for handshaking
with visual basic and/or flow control.
the stamp source is:
pos VAR Byte
servo VAR Byte
·· SERIN 16,16468,[noparse][[/noparse]servo,pos] 'get serial input from PC
·· PULSOUT servo,pos ' send data to position servos
·· PAUSE 10
· GOTO start··· ' do it again
If someone can help!