Arduino Setup
This example assumes you are using the latest version of the Arduino IDE on your desktop. If this is your first time using Arduino IDE, library, or board add-on, please review the following tutorials.
- Installing the Arduino IDE
- Installing an Arduino Library
- Installing Board Definitions in the Arduino IDE
Installing the SparkFun STCC4 Arduino Library
This library is built using the SparkFun Toolkit so you'll need to make sure that is installed before using this library. Install the SparkFun Toolkit with the Arduino Library manager by searching "SparkFun Toolkit" and installing the latest version. Users who prefer manually installing Arduino Libraries can download it from the GitHub Repository.
Library Setup
The SparkFun STCC4 Arduino Library includes six examples that demonstrate how to use the STCC4 and SHT40 to get environmental data from the sensors. Install the library using the Arduino Library Manager tool by searching for "SparkFun STCC4" and install the latest version. If you'd prefer to manually install the library, you can download it from the GitHub Repository or you can download a ZIP of the repository here.