Homework board question and serial communication.
JMLStamp2p
Posts: 259
·
·Hello,
I am trying to help a gentleman with some Visual Basic code that reads data into the VB program from a homework board via a BS2 Stamp. I need to know if a straight cable connection requires a Null Modem adapter and if he needs to use Pin 16 for the right voltage levels since it is a dedicated serial pin ?
Thanks,
JMLSTAMP2P
·Hello,
I am trying to help a gentleman with some Visual Basic code that reads data into the VB program from a homework board via a BS2 Stamp. I need to know if a straight cable connection requires a Null Modem adapter and if he needs to use Pin 16 for the right voltage levels since it is a dedicated serial pin ?
Thanks,
JMLSTAMP2P
Comments
2. "Pin 16" is a pseudo-pin number, used in SERIN/SEROUT statements on the BS2, to indicate to the BS2 code that it should use the "programming port" for sending and recieving data. It does NOT refer to any physical "pin 16". The real I/O pins are numbered zero through 15.
3. Anything the gentleman sends from VB to the BS2 WILL be echoed back to the VB port -- that's a feature of the BS2 hardware.
Post Edited (allanlane5) : 10/13/2007 12:57:37 AM GMT
JMLSTAMP2P