We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1e8dc1 + 9220c13 commit 50e8883Copy full SHA for 50e8883
source/py_adc.c
@@ -86,7 +86,7 @@ static PyObject *py_read(PyObject *self, PyObject *args)
86
}
87
88
//scale modifier
89
- value = value / 1800.0;
+ value = value / 4095.0;
90
91
py_value = Py_BuildValue("f", value);
92
0 commit comments