I2C SCL and SDA are on pins CC_GPIO_ 10 and
CC_GPI_ 11, respectively, so you need to make sure the
jumpers J2 and J3 are put in place. The sensor address pins
are configured for the 0x41 I2C address.
Now it’s time to fire up CCS. You can close the
Getting Started tab. Click on the Open Perspective button
(see Figure 4) located in the upper right corner.
A menu will pop up with a choice of different views.
We mostly switch between Edit and Debug views.
Typically, CCS switches automatically. However, if you
would like to go back to edit
mode, select CCS Edit or CCS
Simple as shown in Figure 5.
To demonstrate this feature,
we’ll do an example. Go to Project
→ Import CCS Projects... First, the
Import Wizard will open up. Click
on the Browse button and navigate
to i2c_demo in the ..\example
folder. Hit Finish. Refer to Figure 6.
Go to View and select Project
Explorer. Once Project Explorer
pops open, you should see the
i2c_demo folder. Expand it to
see project files and double-click
on main.c. Now, go to Open
Perspective (from Figure 4 above)
and select CCS Simple. You should
have a display resembling Figure 7.
To clear your workspace,
minimize the windows that you
Figure 7. CCS Simple.
Figure 6. Import example.
Figure 5. Open Perspective dialog.
Figure 4. Open
48 September/October 2018