Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Roboshark_V9 by
Diff: main.cpp
- Revision:
- 10:fb2195d0de0f
- Parent:
- 9:feabe0b7cea4
- Child:
- 14:feafcee53fed
--- a/main.cpp Mon May 07 15:41:52 2018 +0000 +++ b/main.cpp Tue May 08 09:07:37 2018 +0000 @@ -114,17 +114,17 @@ } else if ((IrR==1) && (IrL==1) && (IrF==0) && (ende == 0)){ caseDrive = 1; // Folge: geradeaus fahren } else if ((IrR==1) && (IrL==1) && (IrF==1) && (ende == 0)){ - caseDrive = 4; // Folge: 180 Grad nach rechts drehen + caseDrive = 4; // Folge: 180 Grad nach rechts drehen } else if ((ende == 1) && (temp == 0)){ caseDrive = 5; // Folge: Ziel erreicht temp = 1; } else {caseDrive = 0; // Folge; Stop } - + // printf("caseDrive = %d\n",caseDrive); //printf("ende = %d\n",ende); - wait (0.1); + wait (0.01);