user15103: When this code is uploaded I get an "Error Compiling". Any help is very much appreciated.
#include <MeetAndroid.h>
#define supplyVolts 6
#define motorVolts 5
#define baudRate 57600
// If you are using a General Bluetooth adapter (available on buildcircuit.net), then, it works with 9600bps baud rate
MeetAndroid phone;
int left = 255; // midpoint
int right = 255;
int pwmLeftPin = 3;  1 int pwmRightPin = 11;
int directionLeftPin = 12;
int directionRightPin = 13;
void setup() {
  pinMode(pwmLeftPin, OUTPUT);
  pinMode(pwmRightPin, OUTPUT);
  pinMode(directionLeftPin, OUTPUT);
  pinMode(directionRightPin, OUTPUT);
  setMotors();
  // use the baud rate your bluetooth module is configured to
  Serial.begin(baudRate);
  phone.registerFunction(setLeft, 'l');
  phone.registerFunction(setRight, 'r');
}

void loop() {
  phone.receive();
}

void setLeft(byte ignore, byte count) {
  int value = phone.getInt();
  left = value;
  setMotors();
}

void setRight(byte ignore, byte count) {
  int value = phone.getInt();
  right = value;
  setMotors();
}

void setMotors() {
  int vLeft = abs(left - 255) * motorVolts / supplyVolts;
  int vRight = abs(right - 255) * motorVolts / supplyVolts;
  int dLeft = (left > 255);
  int dRight = (right > 255);
  if (vLeft < 50) {
    vLeft = 0;
  }
  if (vRight < 50) {
    vRight = 0;
  }
  analogWrite(pwmLeftPin, vLeft);
  analogWrite(pwmRightPin, vRight);
  digitalWrite(directionLeftPin, dLeft);
  digitalWrite(directionRightPin, dRight);
}


user13432: Take a close look at this line. The compiler will not like that as it does not have the right syntax.
int pwmLeftPin = 3;  1 int pwmRightPin = 11;  

Change it to:
int pwmLeftPin = 3;
int pwmRightPin = 11;  

This should at least remove the first issue with your code.
Cheers!

15103: <p>When this code is uploaded I get an "Error Compiling". Any help is very much appreciated.</p>

<pre class="lang-c prettyprint-override"><code>#include &lt;MeetAndroid.h&gt;
#define supplyVolts 6
#define motorVolts 5
#define baudRate 57600
// If you are using a General Bluetooth adapter (available on buildcircuit.net), then, it works with 9600bps baud rate
MeetAndroid phone;
int left = 255; // midpoint
int right = 255;
int pwmLeftPin = 3;  1 int pwmRightPin = 11;
int directionLeftPin = 12;
int directionRightPin = 13;
void setup() {
  pinMode(pwmLeftPin, OUTPUT);
  pinMode(pwmRightPin, OUTPUT);
  pinMode(directionLeftPin, OUTPUT);
  pinMode(directionRightPin, OUTPUT);
  setMotors();
  // use the baud rate your bluetooth module is configured to
  Serial.begin(baudRate);
  phone.registerFunction(setLeft, 'l');
  phone.registerFunction(setRight, 'r');
}

void loop() {
  phone.receive();
}

void setLeft(byte ignore, byte count) {
  int value = phone.getInt();
  left = value;
  setMotors();
}

void setRight(byte ignore, byte count) {
  int value = phone.getInt();
  right = value;
  setMotors();
}

void setMotors() {
  int vLeft = abs(left - 255) * motorVolts / supplyVolts;
  int vRight = abs(right - 255) * motorVolts / supplyVolts;
  int dLeft = (left &gt; 255);
  int dRight = (right &gt; 255);
  if (vLeft &lt; 50) {
    vLeft = 0;
  }
  if (vRight &lt; 50) {
    vRight = 0;
  }
  analogWrite(pwmLeftPin, vLeft);
  analogWrite(pwmRightPin, vRight);
  digitalWrite(directionLeftPin, dLeft);
  digitalWrite(directionRightPin, dRight);
}
</code></pre>
 13432: <p>Take a close look at this line. The compiler will not like that as it does not have the right syntax.</p>

<pre><code>int pwmLeftPin = 3;  1 int pwmRightPin = 11;  
</code></pre>

<p>Change it to:</p>

<pre><code>int pwmLeftPin = 3;
int pwmRightPin = 11;  
</code></pre>

<p>This should at least remove the first issue with your code.</p>

<p>Cheers!</p>
