diff --git a/examples/Example1_ReadVoltageCurrentPower/Example1_ReadVoltageCurrentPower.ino b/examples/Example1_ReadVoltageCurrentPower/Example1_ReadVoltageCurrentPower.ino index c8ffe7c..c2ac07e 100644 --- a/examples/Example1_ReadVoltageCurrentPower/Example1_ReadVoltageCurrentPower.ino +++ b/examples/Example1_ReadVoltageCurrentPower/Example1_ReadVoltageCurrentPower.ino @@ -39,6 +39,10 @@ void setup() // Sample rate is 32kHz. Maximum number of samples is 1023 (0x3FF) (10-bit) mySensor.setNumberOfSamples(1023, true); // Set the number of samples in shadow memory and eeprom mySensor.setBypassNenable(true, true); // Enable bypass_n in shadow memory and eeprom + + // By default, the current range is set for the 30A version of the ACS37800 + // Uncomment the next line if you are using the 90A version: + //mySensor.setCurrentRange(90); } void loop() diff --git a/library.properties b/library.properties index 322a517..044556b 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=SparkFun ACS37800 Power Monitor Arduino Library -version=1.0.5 +version=1.0.6 author=SparkFun Electronics maintainer=SparkFun Electronics sentence=Library for the Allegro MicroSystems ACS37800 power monitor IC