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
Diff: main.cpp
- Revision:
- 14:0caa7b93af7a
- Parent:
- 6:a1fd0f1374e6
- Child:
- 15:31d09ee65cf1
diff -r 5802ccfcc984 -r 0caa7b93af7a main.cpp
--- a/main.cpp Tue May 08 12:32:31 2018 +0000
+++ b/main.cpp Wed May 23 11:50:58 2018 +0000
@@ -6,28 +6,33 @@
#include "Mapping.h"
#include "AutoDrive.h"
#include "RouteCalculation.h"
-#include "SDFileSystem.h"
-#include "FATFileSystem.h"
-#include "ff.h"
+
+
+char* route;
+
+// inizialisieren der Karte
+int map[20][10];
+
-//char route[];
-
-int main()
-{
+int main(){
+ printf("startup");
startup();
+ wait(5);
// Mapping Modus
- mapping();
+ printf("mapping");
+ mapping(map);
- // Schalter einbinden!
// Autodrive Modus
- /*
- startup();
- Route = RouteCalculation();
- AutoDrive(Route);
- */
+ printf("Route wird berechnet");
+ route = RouteCalculation(map);
+ printf("Berechnung Abgeschlossen");
+ //wait(20);
+ //printf("strecke wird abgefahren");
+ //autoDrive(route);
+
}