From 438f12dce988d028e9044968499c08b0b9765fa3 Mon Sep 17 00:00:00 2001 From: Testato Date: Thu, 25 Jun 2015 11:33:34 +0200 Subject: [PATCH] Update core_esp8266_phy.c --- .../esp8266com/esp8266/cores/esp8266/core_esp8266_phy.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_phy.c b/hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_phy.c index 8a3c0ccf8..130c5e36d 100644 --- a/hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_phy.c +++ b/hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_phy.c @@ -197,6 +197,12 @@ static uint8_t phy_init_data[128] = // vdd33_const + // the voltage of PA_VDD + // x=0xff: it can measure VDD33, + // 18<=x<=36: use input voltage, + // the value is voltage*10, 33 is 3.3V, 30 is 3.0V, + // x<18 or x>36: default voltage is 3.3V + // // the value of this byte depend from the TOUT pin usage (1 or 2): // 1) // analogRead function (system_adc_read()):