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:
- 2:7cb9c966a781
- Parent:
- 1:832c213480a8
- Child:
- 3:147e7a35d2c3
--- a/main.cpp Thu Feb 16 15:19:30 2017 +0000
+++ b/main.cpp Thu Feb 16 16:00:18 2017 +0000
@@ -1,4 +1,5 @@
#include "mbed.h"
+#include <fstream>
#define MAX 0x0A
@@ -19,6 +20,8 @@
int US4_mean[MAX]={0,0,0,0,0,0,0,0,0,0};
int US5_mean[MAX]={0,0,0,0,0,0,0,0,0,0};
+std::string telemFile; //file holding info about
+
void setActiveUS(int chan);
int getPing(void);
@@ -75,3 +78,7 @@
return result; //should just do "return [operation that gives result];" for efficiency
}
+void telemSave(std::string data) {
+ std::ofstream file;
+
+}
\ No newline at end of file