22
User Manual
Copyright ©2003 A7 Engineering, Inc.
'Read the local address from the get command
SERIN 0,84,[STR szData\17]
SERIN 0,84,[WAIT(CR,”>”)]
szData(17) = 0
DEBUG STR szData\17,CR
The BASIC Stamp application issues an eb500 Get Address command and then
reads and displays the response in the debug window. The response is the Bluetooth
address of the local eb500 module.
3.
On the
File
menu, click
Save As
.
4.
In the
File name
box, enter a file name to which to save the program just created.
For example, GetAddress.bs2.
5.
Click
Save
.
Step 2: Insert the eb500 Modules into the BOE and SumoBoard Boards
In this step we will insert the eb500 modules into the Board of Education (BOE) and
SumoBoard boards.
1.
Insert an
eb500
module into the
AppMod header
of the Board of Education board;
assuring that Pin 1 of the eb500 module is inserted into the VSS pin of the AppMod
header.
2.
Insert an
eb500
module into the
AppMod header
of the SumoBoard board; assuring
that Pin 1 of the eb500 module is inserted into the VSS pin of the AppMod header.
Step 3: Get the Address of the eb500 on the Board of Education Board
In this step we will get the Bluetooth address of the eb500 module on the Board of
Education board. We will then use this address in the next step.
1.
Connect the
Board of Education board serial port
to the
PC
.
2.
Apply
power
to the Board of Education board.
3.
On the
Run
menu, click
Run
.
The Bluetooth address for the eb500 on the Board of Education board is shown in
the debug window (Figure 8).
4.
On the
Debug Terminal #1
dialog click
Close
.
5.
Disconnect the
power
from the
Board of Education board
.
6.
Disconnect the
Board of Education board serial port
from the
PC
.