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