diff options
author | Elena of Valhalla'' Grandi <valhalla.trueelena.org> | 2013-03-26 22:48:15 +0100 |
---|---|---|
committer | Elena of Valhalla'' Grandi <valhalla.trueelena.org> | 2013-03-26 22:48:15 +0100 |
commit | 504010e41efe1914e1486096564ffbd8dbf30fc3 (patch) | |
tree | 3ece6b29e8bf786c65ddd0c30e7f3da50be547a7 | |
parent | 2890cefa5b979e644759bf7d9106fd69153c3b11 (diff) |
rfc4824: corrected new set_hex()
-rw-r--r-- | arduino_sketch/rfc4824/rfc4824.ino | 4 |
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"); } |