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

Commit c024921

Browse files
Fixing spelling
1 parent 2366599 commit c024921

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

arduino_controller/arduino_controller_functions.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//////////////////////////////////////////////////////////////////////////////
22
//////////////////////////////////////////////////////////////////////////////
33

4-
// This file contains funcitons that process the data that is recieved from the
4+
// This file contains functions that process the data that is received from the
55
// raspberry pi
66

77
//////////////////////////////////////////////////////////////////////////////
@@ -105,19 +105,19 @@ void PopulateArray()
105105

106106
// temp string used to store the char array
107107
// easier to do opperations on string than chars
108-
String recieved_string = "";
108+
String received_string = "";
109109
// give the string the value of the char array
110-
recieved_string = received_chars;
110+
received_string = received_chars;
111111

112-
// now lets populate the motor command array with values from the recieved
112+
// now lets populate the motor command array with values from the received
113113
// string
114114
for (int i = 0; i < NUMBER_MOTORS; i++)
115115
{
116116
int search1 = (i * 2);
117117
int search2 = ((i * 2) + 1);
118118

119-
String value1 = getValue(recieved_string, ',', search1);
120-
String value2 = getValue(recieved_string, ',', search2);
119+
String value1 = getValue(received_string, ',', search1);
120+
String value2 = getValue(received_string, ',', search2);
121121

122122
if (value1 == "Up")
123123
{

arduino_controller/communications.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
//////////////////////////////////////////////////////////////////////////////
22
//////////////////////////////////////////////////////////////////////////////
33

4-
// This file contains funcitons that help the arduino communitate with the
4+
// This file contains functions that help the arduino communitate with the
55
// raspberry pi
66

77
//////////////////////////////////////////////////////////////////////////////
88
//////////////////////////////////////////////////////////////////////////////
99

10-
// handles the recieving of data over the serial port
10+
// handles the receiving of data over the serial port
1111
void RecvWithStartEndMarkers()
1212
{
1313
static boolean recvInProgress = false;

0 commit comments

Comments
 (0)