Skip to content

Instantly share code, notes, and snippets.

@kelliott121
Created June 30, 2016 16:42
Show Gist options
  • Save kelliott121/edd801619e69f98557bae512e0df812e to your computer and use it in GitHub Desktop.
Save kelliott121/edd801619e69f98557bae512e0df812e to your computer and use it in GitHub Desktop.
// Prints "velocity=-255,255"
Serial.print("velocity=");
Serial.print(-FULL_SPEED);
Serial.print(",");
Serial.println(FULL_SPEED);
// Prints "point=90,25" which means 25cm at the angle of 90 degrees
Serial.print("point=");
Serial.print(AngleMap[i]);
Serial.print(",");
Serial.println(Distances[i]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment