We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 308940a + 1799316 commit 062da3cCopy full SHA for 062da3c
src/SparkFun_RV1805.cpp
@@ -81,6 +81,9 @@ boolean RV1805::begin(TwoWire &wirePort)
81
if (sensorPartNumber != RV1805_PART_NUMBER_UPPER) //HW version for RV1805
82
return(false); //Something went wrong. IC didn't respond.
83
84
+ writeRegister(RV1805_CONF_KEY, RV1805_CONF_WRT); //Enable write access to the CAPRC Register (26h)
85
+ writeRegister(RV1805_CAP_RC, 0xA0); //Enable Cap_RC pin
86
+
87
enableTrickleCharge();
88
enableLowPower();
89
0 commit comments