We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dfc4a44 + bd960f0 commit 7988c58Copy full SHA for 7988c58
examples/Analog/DiPlusAdc/DiPlusAdc.ino
@@ -45,7 +45,7 @@ void updateAnalogExpansion() {
45
46
Serial.println("\n*** OPTA ANALOG expansion ");
47
48
- AnalogExpansion aexp = OptaController.getExpansion(2);
+ AnalogExpansion aexp = OptaController.getExpansion(0);
49
50
if(!aexp) {
51
return;
@@ -132,7 +132,7 @@ void setup() {
132
}
133
134
/* analog expansion must be in position 0 */
135
136
137
if(aexp) {
138
setupAnalogExpansion(aexp);
0 commit comments