Integrating BS2p and VB
I·have·most of it integration working good but the only problem I'm having is reading the code coming from the stamp·into Visual Basic.· Does anyone have any examples of an easy way to accomplish this?
Thanks,
Justin
Thanks,
Justin
Comments
i found a a page that has done this very simple
http://www.rentron.com/receiving_data.htm
good luck!
may the stamp be with you
Are you setting the DTRenable to False within VB?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
PC --> Waiting to send commands
BS2 --> Waiting to receive commands
PC --> Send request for permission to transmit command sequence
BS2 --> Grant permission to send command sequence, await MainCommand
PC --> Send MainCommand
BS2 --> Acknowledge receiving MainCommand, await SubCommand
PC --> Send SubCommand
BS2 --> Acknowledge receiving SubCommand, process command sequence
...
This is what the code looks like in VB..
VB:
I plan on going to BlueTooth, I have the AppMod Bluetooth and right now I am using port 0