ESP32-Oscilloscope
ESP32-Oscilloscope copied to clipboard
To display the center line correctly.
Change:
181 String offset_line = String((2.0 * v_div) / 1000.0 - offset) + "V";
203 String offset_line = String((2.0 * v_div) / 1000.0 - offset) + "V";
to:
181 String offset_line = String((3.0 * v_div) / 1000.0 - offset) + "V";
203 String offset_line = String((3.0 * v_div) / 1000.0 - offset) + "V";
to display the center line correctly.