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.
1 parent 8e1faa5 commit 00a8ba2Copy full SHA for 00a8ba2
nodemanager/Node.cpp
@@ -737,6 +737,8 @@ void NodeManager::setAnalogReference(uint8_t value, uint8_t pin) {
737
if (value == _analog_reference) return;
738
// change the analog reference
739
analogReference(value);
740
+ // update _analog_reference
741
+ _analog_reference = value;
742
// wait a bit
743
wait(200);
744
// perform some reading before actually reading the value
0 commit comments