-
Notifications
You must be signed in to change notification settings - Fork 41
Installation
This is a standard Arduino IDE library, which will also work with the standard Atmel Studio software. Then download to a local directory. As of Version 1.6.2 of the Arduino IDE you can install the library directly from the compressed file from Sketch > Include Library > Add .ZIP Library; or unzip the file and place the directory "INA" into the Arduino libraries directory, which on windows will default to "My Documents\Arduino\libraries". Once this has been done, close down and restart the IDE to make the contents visible.
Once the hardware is set up, you can load, compile and execute one of the three sample jobs "INA\Examples\DisplayReadings\DisplayReadings.ino", "INA\Examples\DisplayReadings_BackgroundRead.ino", or "INA\Examples\DisplayReadings_DataLogger.ino"
See Installing Additional Arduino Libraries for additional information.
Overview
Installation
Class Instantiation
begin()
setI2CSpeed()
getBusMilliVolts()
getBusRaw()
getShuntMicroVolts()
getShuntRaw()
getBusMicroAmps()
getBusMicroWatts()
getDeviceAddress()
getDeviceName()
setMode()
setAveraging()
setBusConversion()
setShuntConversion()
reset()
waitForConversion()
conversionFinished()
alertOnConversion()
alertOnShuntOverVoltage()
alertOnShuntUnderVoltage()
alertOnBusOverVoltage()
alertOnBusUnderVoltage()
alertOnPowerOverLimit()