Skip to content

Commit 0ec60f8

Browse files
authored
Update content.md (#1762)
In Analog Inputs sketch: const float VOLTAGE_MAX = 3.0; changed to const float VOLTAGE_MAX = 3.3; const float DIVIDER = 0.3; changed to const float DIVIDER = 0.3034; Changed driven by R&D HW feedback.
1 parent 2d319d9 commit 0ec60f8

File tree

1 file changed

+2
-2
lines changed
  • content/hardware/07.opta/opta-family/opta/tutorials/01.user-manual

1 file changed

+2
-2
lines changed

content/hardware/07.opta/opta-family/opta/tutorials/01.user-manual/content.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ The sketch below shows how to monitor analog voltages on Opta's input terminals
244244
*/
245245
246246
// Define constants for voltage, resolution, and divider.
247-
const float VOLTAGE_MAX = 3.0; // Maximum voltage that can be read
247+
const float VOLTAGE_MAX = 3.3; // Maximum voltage that can be read
248248
const float RESOLUTION = 4095.0; // 12-bit resolution
249-
const float DIVIDER = 0.3; // Voltage divider
249+
const float DIVIDER = 0.3034; // Voltage divider
250250
251251
// Array of terminals.
252252
const int TERMINALS[] = {A0, A1, A2};

0 commit comments

Comments
 (0)