[CODE] ESP32: set correct battery range

This commit is contained in:
Jannik Beyerstedt 2018-10-03 21:28:26 +02:00
parent 28f4ba44c0
commit 6a76a9262d

View file

@ -35,13 +35,13 @@
#define DB_PASSWD "c2Vuc29yczpTZW5zb3JzLXcuaW5mbHV4QGhvbWU" // BasicAuth String
#if BOARD == BOARD_ESP32
#define BATT_FULL 3600 // 3.6V VCC (4.3V Battery) TODO: get actual value
#define BATT_CUTOFF 200 // 2.3V VCC (3.0V Battery) TODO: get actual value
#define BATT_FULL 3800 // 4.3V Battery
#define BATT_CUTOFF 2500 // 2.8V Battery
#else
#error "unsupported board chosen"
#endif
String loggerId = "esp-"; // prefix for the last 3 octets of the MAC address
String loggerId = "esp32-"; // prefix for the last 3 octets of the MAC address
/* SETTINGS */
float tempOffset = +0.0;