Problems with basic stamp to basic stamp comminication
pathikgohil85
Posts: 21
Hello Folks,
I am trying to establish connection between master basic stamp to slave basic stamp. I am attaching my code too. I am using hyper terminal to monitor my serial port values.
These are my results with different techniques that I have used for communication.
Trying to send A0=1 and A1=20, with waiting "RX " in master.
1. Result with out SPSTR in master code
1 2 1 2 1 2 9 2 7 20 1 20 1 2 1 2 1 20 3 20 1 20 1 20 1 20 1 20 1 20 1 20 1 20 1 2
0 1 2 1 2 1 20 5 20 1 20 5 21 9 2 1 20 1 2 1 2 1 20 1 2 1 20 1 20 1 20 9 20 1 30
1 20 1 20 1 2 1 20 1 20 1 2 1 20 1 20 20 5 5 20 1 20 1 20 90 0 1 20 1 20 1 28 9
20 1 3 1 2 1 20 9 20 1 20 1 30 1 20 7 20 1 20 1 20 5 20 1 20 1 2 3 20 5 20 1 20
1 20 1 2 1 20 1 20 1 20 1 20 1 2 5 200 1 20 1 20
2. Result with SPSTR in master code
49 131 49 50 49 50 49 50 49 114 49 131 49 153 49 178 49 50 49 153 185 50 49 153
49 50 49 50 49 58 49 50 49 50 49 131 57 51 49 153 49 50 243 50 51 131 49 50 49 1
39 49 50 49 153 49 50 49 50 49 139 49 114 49 50 49 50 49 153 49 58 49 153 49 1
31 49 153 49 50 49 153
3. With flow control option in SERIN and SEROUT command
Starts with, 1 20 1 20 1 20 1 20 1 8 1 41 Bs2p40_master.bpxBS2p40_Slave.bpx
Please review my code and let me your comments. Also I am trying to SHIFTIN command for successful communication.
thanks in advance.
Happy thanksgiving to everyone and happy holidays.
Regards,
Pathik Gohil
I am trying to establish connection between master basic stamp to slave basic stamp. I am attaching my code too. I am using hyper terminal to monitor my serial port values.
These are my results with different techniques that I have used for communication.
Trying to send A0=1 and A1=20, with waiting "RX " in master.
1. Result with out SPSTR in master code
1 2 1 2 1 2 9 2 7 20 1 20 1 2 1 2 1 20 3 20 1 20 1 20 1 20 1 20 1 20 1 20 1 20 1 2
0 1 2 1 2 1 20 5 20 1 20 5 21 9 2 1 20 1 2 1 2 1 20 1 2 1 20 1 20 1 20 9 20 1 30
1 20 1 20 1 2 1 20 1 20 1 2 1 20 1 20 20 5 5 20 1 20 1 20 90 0 1 20 1 20 1 28 9
20 1 3 1 2 1 20 9 20 1 20 1 30 1 20 7 20 1 20 1 20 5 20 1 20 1 2 3 20 5 20 1 20
1 20 1 2 1 20 1 20 1 20 1 20 1 2 5 200 1 20 1 20
2. Result with SPSTR in master code
49 131 49 50 49 50 49 50 49 114 49 131 49 153 49 178 49 50 49 153 185 50 49 153
49 50 49 50 49 58 49 50 49 50 49 131 57 51 49 153 49 50 243 50 51 131 49 50 49 1
39 49 50 49 153 49 50 49 50 49 139 49 114 49 50 49 50 49 153 49 58 49 153 49 1
31 49 153 49 50 49 153
3. With flow control option in SERIN and SEROUT command
Starts with, 1 20 1 20 1 20 1 20 1 8 1 41 Bs2p40_master.bpxBS2p40_Slave.bpx
Please review my code and let me your comments. Also I am trying to SHIFTIN command for successful communication.
thanks in advance.
Happy thanksgiving to everyone and happy holidays.
Regards,
Pathik Gohil
Comments