Browse Source
Merge pull request #423 from 446564/fix-GH133
heltec v3 update ADC multipler to fix voltage reading
pull/436/head
ripplebiz
12 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/helpers/HeltecV3Board.h
|
|
@ -99,7 +99,7 @@ public: |
|
|
|
|
|
|
|
|
digitalWrite(PIN_ADC_CTRL, !adc_active_state); |
|
|
digitalWrite(PIN_ADC_CTRL, !adc_active_state); |
|
|
|
|
|
|
|
|
return (5.2 * (3.3 / 1024.0) * raw) * 1000; |
|
|
return (5.42 * (3.3 / 1024.0) * raw) * 1000; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const char* getManufacturerName() const override { |
|
|
const char* getManufacturerName() const override { |
|
|
|