From 504010e41efe1914e1486096564ffbd8dbf30fc3 Mon Sep 17 00:00:00 2001 From: Elena of Valhalla'' Grandi Date: Tue, 26 Mar 2013 22:48:15 +0100 Subject: rfc4824: corrected new set_hex() --- arduino_sketch/rfc4824/rfc4824.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arduino_sketch') 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"); } -- cgit v1.2.3