Add ADC0 information

Michael Ingraham 2019-03-14 08:49:23 -04:00
parent 519019b709
commit 62f848ecda
1 changed files with 3 additions and 1 deletions

@ -29,6 +29,8 @@ Time to create your template.
![GPIO configuration](https://i.postimg.cc/8CSrhfyw/templat-step3.png)
[Explanation of ADC0](#ADC0)
4. Click on **Save**.
![](https://i.postimg.cc/nVvtCsy0/templat-step4.png)
@ -193,7 +195,7 @@ The FLAG value is an 8-bit mask where each bit controls a feature. Add FLAG valu
FLAG | Mask | Feature description
-----|----------|------------------------------
0 | xxxxxxxx | No features
1 | xxxxxxx1 | Allowing to use Analog0 (ADC0) as input if define USE_ADC_VCC in ``my_user_config.h`` is disabled
<a id="ADC0"> </a> 1 | xxxxxxx1 | Allowing to use Analog0 (ADC0) as input if define USE_ADC_VCC in ``my_user_config.h`` is disabled<BR>Selecting ADC0 allows input of an analog signal through the ADC0 (A.K.A. A0) ESP8266 input (pin 6). **Check your ESP8266 version**. In earlier versions chip, the A0 pin operated at maximum voltage of 1.0V. Newer versions allow an input voltage in the range between 0 and 3.3 volts. You may need to use a voltage divider to ensure your input voltage is in the right range. ADC0 will be reported in telemetry messages as well as in the web UI. It can also be used as a [trigger](Rules#adc0) in [rules](Rules).
2 | xxxxxx1x | Not used
4 | xxxxx1xx | Not used
8 | xxxx1xxx | Not used