Skip to content

Commit b56b60a

Browse files
authored
Update REMgQ29tcG9uZW50.h
1 parent c66d417 commit b56b60a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/REMgQ29tcG9uZW50.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ void attachEngine(int pin) {
1414
attachedEngine = pin;
1515
}
1616

17+
void attach(int input1, int input2, int engine) {
18+
attachInput1(input1);
19+
attachInput2(input2);
20+
attachEngine(engine);
21+
}
22+
1723
void Input1(int mode, int speed) {
1824
digitalWrite(attachedInput1, mode);
1925
if(speed != "") {

0 commit comments

Comments
 (0)