We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbe2cb0 commit e2bb733Copy full SHA for e2bb733
libraries/Matter/examples/MatterFan/MatterFan.ino
@@ -51,7 +51,7 @@ void fanDCMotorDrive(bool fanState, uint8_t speedPercent) {
51
// turn off the Fan
52
#ifndef RGB_BUILTIN
53
// after analogWrite(), it is necessary to set the GPIO to digital mode first
54
- pinMode(ledPin, OUTPUT);
+ pinMode(dcMotorPin, OUTPUT);
55
#endif
56
digitalWrite(dcMotorPin, LOW);
57
} else {
0 commit comments