Skip to content

Commit 6ece9f4

Browse files
authored
Update REMgQ29tcG9uZW50.h
1 parent cbfedf3 commit 6ece9f4

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/REMgQ29tcG9uZW50.h

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
void dc(int pin, int dc_pin, int mode, int speed) {
1+
int attachedInput1 = 0;
2+
int attachedInput2 = 0;
3+
4+
void attachInput1(int pin) {
5+
attachedInput1 = pin;
6+
}
7+
8+
void attachInput2(int pin) {
9+
attachedInput2 = pin;
10+
}
11+
12+
void moveDC(int pin, int mode, int speed) {
213
digitalWrite(pin, mode);
314
if(speed != "") {
415
analogWrite(engine_id, speed);

0 commit comments

Comments
 (0)