lorzangas porafor
/
motorpaso
control simple de motor paso a paso unipolar
Revision 2:42e4a5fcc99f, committed 2012-10-22
- Comitter:
- lorzangas
- Date:
- Mon Oct 22 05:03:04 2012 +0000
- Parent:
- 1:26c2fd1ea036
- Commit message:
- simple control motor paso a paso unipolar
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 26c2fd1ea036 -r 42e4a5fcc99f main.cpp --- 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);