Visual Basic and Stamp2
Chilliman
Posts: 7
Hi.
not user how to do this.
i need to be able to use and visual basic program to be able to use basic stamp 2, i need to know what i need on the stamp 2 and what i require on the VB side of things does any one know a good source of info.
chilliman
not user how to do this.
i need to be able to use and visual basic program to be able to use basic stamp 2, i need to know what i need on the stamp 2 and what i require on the VB side of things does any one know a good source of info.
chilliman
Comments
On the PC end, you need to set up an ordinary serial port, usually at 2400 Baud. You'll need to look at the Visual Basic documentation for details.
Jeff T.
i will have a try, i may get back to you if i have any problems
thanks
chilliman
i have got the VB to talk to my Basic Stamp it works great the next problem i have i would like to check six pins on the Stamp for their state and be able to pull all six states back to my VB program does any one know what code i would need to do this on the stamp before i can start looking at the code in VB, any help would be appreciated .
Thanks
Chilliman
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike2545
This message sent to you on 100% recycled electrons.
INL is a byte so transmitting one byte to the VB program on your PC would carry the information that contains the pin states , bit 0 would be P0 bit 1 would be P1 etc.
eg
myvariable = INL
SEROUT [noparse][[/noparse]myvariable]
Jeff T.
i am not sure what you mean with INL (i am new at this) a little more help would be appreciated to show me what you mean and to get me to under stand what i need to do.
Thanks
Chilliman