summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena of Valhalla'' Grandi <valhalla.trueelena.org>2013-03-26 22:48:15 +0100
committerElena of Valhalla'' Grandi <valhalla.trueelena.org>2013-03-26 22:48:15 +0100
commit504010e41efe1914e1486096564ffbd8dbf30fc3 (patch)
tree3ece6b29e8bf786c65ddd0c30e7f3da50be547a7
parent2890cefa5b979e644759bf7d9106fd69153c3b11 (diff)
rfc4824: corrected new set_hex()
-rw-r--r--arduino_sketch/rfc4824/rfc4824.ino4
1 files changed, 2 insertions, 2 deletions
diff --git a/arduino_sketch/rfc4824/rfc4824.ino b/arduino_sketch/rfc4824/rfc4824.ino
index 00e8e18..95d0c21 100644
--- a/arduino_sketch/rfc4824/rfc4824.ino
+++ b/arduino_sketch/rfc4824/rfc4824.ino
@@ -108,8 +108,8 @@ void set_hex(char digit) {
right_arm.step(QRT_STP*pos[digit][0]);
left_arm.step(-1*QRT_STP*pos[digit][1]);
delay(CHAR_DELAY);
- left_arm.step(-1*QRT_STP*pos[digit][1]);
- right_arm.step(QRT_STP*pos[digit][0]);
+ left_arm.step(QRT_STP*pos[digit][1]);
+ right_arm.step(-1*QRT_STP*pos[digit][0]);
delay(CHAR_DELAY);
Serial.println("Returned to home position");
}