Datasheet

Table Of Contents
I
2
C™ Master Communications
© 2009 Microchip Technology Inc. DS51647C-page 31
Receive issues a simple Read command to the target device (refer to The I
2
C Specifi-
cation reference in Section 4.1 “Introduction”. The basic structure of the command
is:
Start bit (S_)
Slave Address[W] – Enter the slave address of the device to communicate with.
The Write bit should be set to indicate a read operation.
Byte Count – Enter the number of bytes to receive
Stop bit (P_)
FIGURE 4-3: I
2
C™ BASIC OPERATIONS
4.7 SCRIPT BUILDER
I
2
C commands can be combined into scripts, saved, and used over again. The Script
Builder window is opened by selecting Communications > Script > Script Builder
from
the menu bar. The Script Builder is shown in Figure 4-4.
The Script Builder window is divided into four columns as shown in Figures 4-4 through
4-8.
FIGURE 4-4: I
2
C™ SCRIPT BUILDER