Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
caplingerc committed Apr 27, 2012
1 parent d165b4b commit 2f168c5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Roboarm.ino
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ void drive_joints() {
// send current data serially // send current data serially
Serial.print( millis() ); Serial.print( millis() );
Serial.print(','); Serial.print(',');
/*
Serial.print(elbowAngle); Serial.print(elbowAngle);
Serial.print(','); Serial.print(',');
Serial.print(shoulderAngle); Serial.print(shoulderAngle);
Expand All @@ -213,11 +214,12 @@ void drive_joints() {
Serial.print(','); Serial.print(',');
Serial.print(pwmShoulder); Serial.print(pwmShoulder);
Serial.print(','); Serial.print(',');
Serial.print(elbow_sensor.getCurrent()-2.5, BIN); */
Serial.print(elbow_sensor.getCurrent(), BIN);
Serial.print(','); Serial.print(',');
Serial.print(elbow_sensor.getVoltage(), BIN); Serial.print(elbow_sensor.getVoltage(), BIN);
Serial.print(','); Serial.print(',');
Serial.print(shoulder_sensor.getCurrent()-2.5, BIN); Serial.print(shoulder_sensor.getCurrent(), BIN);
Serial.print(','); Serial.print(',');
Serial.println(shoulder_sensor.getVoltage(), BIN); Serial.println(shoulder_sensor.getVoltage(), BIN);


Expand Down

0 comments on commit 2f168c5

Please sign in to comment.