BS1USB to Visual Basic
jzmnavarro
Posts: 16
Hi everyone,
I am new using BASIC STAMP 1, and i have a project called lane simulator which i used BS1-USB to be able to control a simple circuit which i will communicate with my software using VB. by using the input/output pins i will be able to control the circuit for each assigned input/output. Do you have any idea on this. help me guys.
Thanks.
I am new using BASIC STAMP 1, and i have a project called lane simulator which i used BS1-USB to be able to control a simple circuit which i will communicate with my software using VB. by using the input/output pins i will be able to control the circuit for each assigned input/output. Do you have any idea on this. help me guys.
Thanks.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
See: www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol1/col/nv20.pdf
thanks again! [noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
There's no way to get data back into the BS1 from the PC through the built-in USB interface except by downloading a new program to it.
It is possible to download a new program to the BS1 using VB, but I don't have a link to the download protocol.
You could use a separate USB to serial interface if you had a spare I/O pin, but you don't have that.
Thanks guys!
You can send data to the PC using the DEBUG statement.
You can download a program to the BS1 from the PC. That's all.
You can attach a completely separate USB to serial adapter (like Parallax's USB2SER adapter) to one or two of the BS1's I/O pins and use that to communicate with a PC, but you need one I/O pin for each direction you want to send information.