We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1836bec + 8675147 commit d12831bCopy full SHA for d12831b
content/hardware/07.opta/opta-family/opta/tutorials/01.user-manual/content.md
@@ -242,9 +242,9 @@ The sketch below shows how to monitor analog voltages on Opta's input terminals
242
*/
243
244
// Define constants for voltage, resolution, and divider.
245
-const float VOLTAGE_MAX = 3.0; // Maximum voltage that can be read
+const float VOLTAGE_MAX = 3.3; // Maximum voltage that can be read
246
const float RESOLUTION = 4095.0; // 12-bit resolution
247
-const float DIVIDER = 0.3; // Voltage divider
+const float DIVIDER = 0.3034; // Voltage divider
248
249
// Array of terminals.
250
const int TERMINALS[] = {A0, A1, A2};
0 commit comments