SparkFun INA2XX Arduino Library
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 INA2XX 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 INA2XX Arduino Library lets users easily get started with the INA228 and INA237 with basic commands and includes six examples. Install the library using the Arduino Library Manager tool by searching for "SparkFun INA2XX" 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.