Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Config/Pins_Duet3_MB6HC.h')
-rw-r--r--src/Config/Pins_Duet3_MB6HC.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Config/Pins_Duet3_MB6HC.h b/src/Config/Pins_Duet3_MB6HC.h
index a20af4c5..0a66ad79 100644
--- a/src/Config/Pins_Duet3_MB6HC.h
+++ b/src/Config/Pins_Duet3_MB6HC.h
@@ -148,7 +148,8 @@ constexpr Pin SpiTempSensorCsPins[] = { PortAPin(5), PortAPin(6), PortDPin(20),
// Analogue pin numbers
constexpr Pin PowerMonitorVinDetectPin = PortAPin(20);
constexpr Pin PowerMonitorV12DetectPin = PortEPin(4);
-constexpr float PowerMonitorVoltageRange = (60.4 + 4.7)/4.7 * 3.3; // voltage divider ratio times the reference voltage
+constexpr float PowerMonitorVoltageRange_v102 = (100.0 + 5.1)/5.1 * 3.3; // voltage divider ratio times the reference voltage
+constexpr float PowerMonitorVoltageRange_v101 = (60.4 + 4.7)/4.7 * 3.3; // voltage divider ratio times the reference voltage
constexpr float V12MonitorVoltageRange = (60.4 + 4.7)/4.7 * 3.3; // voltage divider ratio times the reference voltage
// Digital pin number to turn the IR LED on (high) or off (low), also controls the DIAG LED