with class
Dependencies: ISR_Mini-explorer mbed
Fork of VirtualForces by
Diff: main.cpp
- Revision:
- 13:41f75c132135
- Parent:
- 12:3c0ca2350624
- Child:
- 14:d58f2bdbf42e
- Child:
- 15:44ab4626f1ad
diff -r 3c0ca2350624 -r 41f75c132135 main.cpp --- a/main.cpp Mon Mar 27 16:40:11 2017 +0000 +++ b/main.cpp Mon Mar 27 16:42:53 2017 +0000 @@ -35,9 +35,13 @@ //Timeout time; int main(){ + i2c1.frequency(100000); initRobot(); //Initializing the robot pc.baud(9600); // baud for the pc communication + measure_always_on(); + wait_ms(50); + //Resetting coordinates before moving theta=0; X=0;