mirror of https://github.com/meshcore-dev/MeshCore
Browse Source
Correct ADC_MULTIPLIER from 5.42 to 4.9 to match the R27/R28 resistor divider on the schematic (390kΩ + 100kΩ) / 100kΩ = 4.9. Also switch from analogRead() with manual 3.3V/1024 conversion to analogReadMilliVolts() at 12-bit resolution, which uses the ESP32's built-in ADC calibration for improved accuracy. Schematic reference: https://resource.heltec.cn/download/WiFi_LoRa_32_V4pull/2689/head
2 changed files with 6 additions and 6 deletions
Loading…
Reference in new issue