control simple de motor paso a paso unipolar

Dependencies:   mbed

Revision:
2:42e4a5fcc99f
Parent:
1:26c2fd1ea036
--- a/main.cpp	Mon Oct 22 04:59:01 2012 +0000
+++ b/main.cpp	Mon Oct 22 05:03:04 2012 +0000
@@ -24,7 +24,7 @@
         }
         wait(2);
         for (int s = 0; s < 120 ; s +=1) {//ahora en sentido contrario
-        motor = (0x9);//1010
+        motor = (0x9);//1001
         wait_us(tiempo);
         motor = (0x5);//0101
         wait_us(tiempo);