Trying to find a good text for VisualBasic-->Stamp programming
Taylortronic
Posts: 20
Hello Stamp Forum readers,
I've been working on a project that involves using my computer in conjunction with my basic stamp. Obviously this will involve communication between the computer and the stamp and I'll have to write a VB app to trade data and directions, etc. I'm a new VB programmer and I really need a great info resource for this specifically. I'm sure this is a well-trod path and I know I'm going to need to do this a lot for the kind of ideas that I have. Can anybody point me to a text or something so I can really crack down and develop this programming technique the right way?
thanks,
Taylortronic
p.s. parallax rocks!
I've been working on a project that involves using my computer in conjunction with my basic stamp. Obviously this will involve communication between the computer and the stamp and I'll have to write a VB app to trade data and directions, etc. I'm a new VB programmer and I really need a great info resource for this specifically. I'm sure this is a well-trod path and I know I'm going to need to do this a lot for the kind of ideas that I have. Can anybody point me to a text or something so I can really crack down and develop this programming technique the right way?
thanks,
Taylortronic
p.s. parallax rocks!
Comments
Here is about the "simplest" example (<--It has to be that way for myself) of a PC talking to a Stamp using VB4...
http://forums.parallax.com/showthread.php?p=549166
Scroll towards the bottom for the Visual Basic code, the top contains the Stamp code (you will need this) and Quickbasic code.
When I initially "GOOGLE'd" for an example to help me out, the application was for receiving RS232 signals into Visual Basic via the "RS232.Input" function.
After playing around with it a bit I discovered by trial and error the "RS232.Output" function which allowed me to communicate to the Stamp.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
It has VB examples that you can LOOK at.
http://www.parallax.com/html_pages/downloads/software/software_stampdaq.asp
It contains a working VB program, with source.· It also includes a text file, which tell you how to regenerate the VB program using the VB IDE.· It contains a very simple BS2 code to send out a byte once every so often.
Now, you also have to know that the BS2 RS232 hardware will echo everything sent to it -- so you'll have to remove the echo'ed characters from VB before you get the BS2's response.
It's really not complicated enough to deserve an entire book, though.
thanks again,
taylortronic