Thing Plus Dual-Port Logging Shield Hookup Guide

Pages
Contributors: Ell C, PaulZC
Favorited Favorite 0

Example 2: Set I2C Address

Example 2 shows you how to change the I2C address of the shield. Let's bring it up in Arduino:

Where to find example 2 in the file menu

Having a hard time seeing the details? Click the image for a closer look.

Note: If you are using an Artemis Thing Plus, you will need to change Wire to Wire1 in the example code!

Make sure you select the correct board and port, and then smash that upload button. Once the code is compiled and uploaded, go ahead an open the Serial Monitor. You should see something like the following:

Sample output of Example 2

Having a hard time seeing the details? Click the image for a closer look.