1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

README.md: Improve markdown for code example

Conflicts:
	README.md
This commit is contained in:
Noah 2015-07-12 20:51:26 +02:00 committed by Ivan Grokhotkov
parent 56fd116f4e
commit 6b45790652

View File

@ -174,9 +174,9 @@ Several APIs may be used to get flash chip info:
```ESP.getVcc()``` may be used to measure supply voltage. ESP needs to reconfigure the ADC ```ESP.getVcc()``` may be used to measure supply voltage. ESP needs to reconfigure the ADC
at startup in order for this feature to be available. Add the following line to the top at startup in order for this feature to be available. Add the following line to the top
of your sketch to use ```getVcc```: of your sketch to use ```getVcc```:
```
ADC_MODE(ADC_VCC); ADC_MODE(ADC_VCC);
```
TOUT pin has to be disconnected in this mode. TOUT pin has to be disconnected in this mode.
Note that by default ADC is configured to read from TOUT pin using ```analogRead(A0)```, and Note that by default ADC is configured to read from TOUT pin using ```analogRead(A0)```, and