Narazil jsem na funkci ESP.getVcc(). která nebo alespoň se domnívám že vrací napájecí napětí baterie kterou je napájen ESP8266 ale mě dává 65535
což je nesmysl, na netu jsem našel toto fórum https://github.com/esp8266/Arduino/issues/225 kde je napsané
Kód: Vybrat vše
extern "C" {
#include "user_interface.h"
}
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println(analogRead(0));
Serial.println(system_get_vdd33());
upozorňuji že to skouším na desce V3 NodeMcu 4M modul ESP8266
kde je chyba ? díky