Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit a7a08de

Browse files
Removed relay control code
Remove relay code since we aren't using the relay on the mega board anymore.
1 parent 8658ee0 commit a7a08de

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

arduino_controller/arduino_controller.ino

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
#define NUMBER_MOTORS 2
99
#define TIMEOUT 10000
1010

11-
// relay pin
12-
//int relayPin = 69;
13-
int relayPin = 53;
14-
1511
// function declarations`
1612
void RecvWithStartEndMarkers();
1713
void ProcessData();
@@ -50,9 +46,6 @@ void setup()
5046
// setup serial port
5147
Serial.begin(9600);
5248

53-
// initialize relay pin
54-
pinMode(relayPin, OUTPUT);
55-
5649
// initialize all motor ports
5750
Serial.println("Begining Initialization");
5851
Serial.print("Motor Ports: ");
@@ -110,8 +103,6 @@ void loop()
110103
Serial.println("<");
111104
Serial.print("Arduino: ");
112105
Serial.println(received_chars);
113-
digitalWrite(relayPin, HIGH);
114106
ProcessData();
115-
digitalWrite(relayPin, LOW);
116107
}
117108
}

0 commit comments

Comments
 (0)