40
Programmer’s
Quick Start
Creating a custom i2cStick program is easier if you know what to expect. Follow
these steps to manually control the i2cStick from your computer’s keyboard and
screen.
1 Install the i2cStick as directed in the “Hardware Set-Up” section of this User’s
Guide.
2 Use a terminal emulator program, like Windows’ Hyperterminal, to start
communicating with the I
2
C adapter. Remember to select the correct Com Port
(COM1, COM2,…) and set the communication parameters to 19200, 57600, or
115200 Baud*, 8 Data Bits, No Parity, and 1 Stop Bit. (*i2cStick internally re-maps
all three baud rates to 115200 baud)
3 Enter
//[CR]
to get an i2cStick Status Report. Note: All i2cStick commands are
terminated with a Carriage Return ([CR]) character. On most terminal emulators,
press the Enter key.
4 Enter
/F0[CR]
(XON/XOFF) or
/F1[CR]
(RTS/CTS) to set i2cStick’s
communications Flow Control to match your terminal.
5 Enter
/Ixx[CR]
(xx = 02…FE even) to set i2cStick’s Own I
2
C Slave Address.
6 Enter
/O[CR]
to Open the i2cStick Connection. The i2cStick does not need to
be connected to an I
2
C Bus to open a connection.
7 Enter
/Dxx[CR]
(xx = 00…FE even) to select a Destination I
2
C Slave Address
8 Enter
/Ttext[CR]
(text = ASCII or Hex-Equivalent ~00…~FF) to Master
Transmit a message to the current Destination I
2
C Slave device
9 Enter
/Rn[CR]
(n = 0…32767) to Master Read a message from the current
Destination I
2
C Slave device.