forked from letscontrolit/ESPEasy
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend ADC Plugin with multiplex and powersave
If none of the 2 GPIO pins is set it works as usual and the value get written in "Analog1". If one or both GPIO pins are set the pin is set to HIGH while reading A0. This way 2 analog sensors are possible. The positive source for the sensor is 1st GPIO for Analog1 and 2nd GPIO for Analog2. It's also possible to set only one of the both GPIO. In this case it works like a powersave because the sensor only get voltage for the short moment of measure.
- Loading branch information
Tommy-LSA
committed
Dec 29, 2016
1 parent
af48467
commit 4d6f1c3
Showing
1 changed file
with
54 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters