From c61bb84a98a86825d0867464667afaf82fcaaeea Mon Sep 17 00:00:00 2001 From: bobemoe Date: Thu, 18 Apr 2024 11:53:34 +0100 Subject: [PATCH] add comment to example for 90A version --- .../Example1_ReadVoltageCurrentPower.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/Example1_ReadVoltageCurrentPower/Example1_ReadVoltageCurrentPower.ino b/examples/Example1_ReadVoltageCurrentPower/Example1_ReadVoltageCurrentPower.ino index c8ffe7c..472282d 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 current range is set for the 30A version of the ACS37800 + // Uncomment if you are using the 90A version + // mySensor->setCurrentRange(90); } void loop()