Browse files

update

  • Loading branch information...
1 parent d165b4b commit 2f168c5056100674e276453b301440838902042b @caplingerc committed Apr 26, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 Roboarm.ino
View
6 Roboarm.ino
@@ -205,6 +205,7 @@ void drive_joints() {
// send current data serially
Serial.print( millis() );
Serial.print(',');
+ /*
Serial.print(elbowAngle);
Serial.print(',');
Serial.print(shoulderAngle);
@@ -213,11 +214,12 @@ void drive_joints() {
Serial.print(',');
Serial.print(pwmShoulder);
Serial.print(',');
- Serial.print(elbow_sensor.getCurrent()-2.5, BIN);
+ */
+ Serial.print(elbow_sensor.getCurrent(), BIN);
Serial.print(',');
Serial.print(elbow_sensor.getVoltage(), BIN);
Serial.print(',');
- Serial.print(shoulder_sensor.getCurrent()-2.5, BIN);
+ Serial.print(shoulder_sensor.getCurrent(), BIN);
Serial.print(',');
Serial.println(shoulder_sensor.getVoltage(), BIN);

0 comments on commit 2f168c5

Please sign in to comment.