Closed Mr-HaleYa closed 4 years ago
just trying to keep it good looking lol
also, I had a question. How much does the latest update (0.3.1) affect power consumption when the new feature is enabled? Im taking 45 reading every 2 mins so idk if it's even worth enabling. And more importantly, will it break anything if I update?
The dataPin was always HIGH, it must be between reads according to the datasheet. Normally this is true for both 3.1 and 3.0 (and before), so they will use an equal amount of energy.
What the latest addition allows is for e.g. a sensor that is read only once per ten minutes or less, one can put the device in a low power mode. No, there is no official documentation from the sensors how to do this. The idea is that after switching off all Vcc (5V) lines, the sensor will not draw any energy so by definition that is low power.
As it takes 2 seconds for the sensor to power up your sketch would still have an up time of 75% (or higher) to have 45 reads in 2 minutes.
3 little typos wake up -> wake-up enable / disable -> enable/disable removed a random | at the bottem