Rauno U
/
Miisu
Six crescent shaped legs
Diff: main.cpp
- Revision:
- 24:fb1827be6f7e
- Parent:
- 23:d844cc906b66
- Child:
- 25:a8bb69e99d6b
diff -r d844cc906b66 -r fb1827be6f7e main.cpp --- a/main.cpp Tue Apr 19 16:03:56 2016 +0000 +++ b/main.cpp Tue Apr 19 18:26:44 2016 +0000 @@ -29,13 +29,13 @@ void rise() { - pc.printf("rise\n"); + //pc.printf("rise\n"); m.drive(0); } void fall() { - pc.printf("fall\n"); + //pc.printf("fall\n"); m.drive(0.25); } @@ -56,7 +56,7 @@ //printf("%f %f\n", s.getTurnSpeed(), m.getSetSpeed()); //printf("%f %f\n", m.s, m.getSetSpeed()); - //printf("%ld %f\n", m.getEncoder().getCount(), m.getEncoder().getTurn()); + printf("%ld %f\n", m.getEncoder().getCount(), m.getEncoder().getTurn()); m.tick(); //printf("%f %f\n", m.getEncoder().getTurn(), m.getSetTurn()); wait(1.f / 60);