Skip to content

Commit 932e8d2

Browse files
authored
Update REMgQ29tcG9uZW50.h
1 parent b495299 commit 932e8d2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/REMgQ29tcG9uZW50.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ void attachInput2(int pin) {
99
attachedInput2 = pin;
1010
}
1111

12+
void attachEngine(int pin) {
13+
attachedEngine = pin;
14+
}
15+
1216
void Input1(int mode, int speed) {
1317
digitalWrite(attachedInput1, mode);
1418
if(speed != "") {
15-
analogWrite(dc_pin, speed);
19+
analogWrite(attachedEngine, speed);
1620
}
1721
}

0 commit comments

Comments
 (0)