Skip to content

Commit 7ea38f1

Browse files
authored
Merge pull request #9 from bobemoe/patch-2
add comment to example for 90A version
2 parents 79adb22 + c61bb84 commit 7ea38f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/Example1_ReadVoltageCurrentPower/Example1_ReadVoltageCurrentPower.ino

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ void setup()
3939
// Sample rate is 32kHz. Maximum number of samples is 1023 (0x3FF) (10-bit)
4040
mySensor.setNumberOfSamples(1023, true); // Set the number of samples in shadow memory and eeprom
4141
mySensor.setBypassNenable(true, true); // Enable bypass_n in shadow memory and eeprom
42+
43+
// By default current range is set for the 30A version of the ACS37800
44+
// Uncomment if you are using the 90A version
45+
// mySensor->setCurrentRange(90);
4246
}
4347

4448
void loop()

0 commit comments

Comments
 (0)