update ADC multipler to fix voltage reading
This commit is contained in:
1 parent
15039e1208
commit
7f6dfea42c
1 file changed
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user