summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2014-04-04 10:13:47 +0800
committerStanley Huang <stanleyhuangyc@gmail.com>2014-04-04 10:13:47 +0800
commit52ec349f08b80cfe773c2919b392b02f9f071b7f (patch)
tree2d858501b1e45e819365d582e5896322763eeeb4
parent3a9f1b709ca44371b20bdd960f379c2f2734b270 (diff)
download2021-arduino-obd-52ec349f08b80cfe773c2919b392b02f9f071b7f.tar.gz
2021-arduino-obd-52ec349f08b80cfe773c2919b392b02f9f071b7f.tar.bz2
2021-arduino-obd-52ec349f08b80cfe773c2919b392b02f9f071b7f.zip
Update Nano Logger
-rw-r--r--nanologger/.objs/MicroLCD.obin15208 -> 0 bytes
-rw-r--r--nanologger/.objs/SH1106.obin11656 -> 0 bytes
-rw-r--r--nanologger/.objs/nanologger.obin16648 -> 0 bytes
-rw-r--r--nanologger/datalogger.h5
4 files changed, 4 insertions, 1 deletions
diff --git a/nanologger/.objs/MicroLCD.o b/nanologger/.objs/MicroLCD.o
deleted file mode 100644
index c23a55d..0000000
--- a/nanologger/.objs/MicroLCD.o
+++ /dev/null
Binary files differ
diff --git a/nanologger/.objs/SH1106.o b/nanologger/.objs/SH1106.o
deleted file mode 100644
index bac7e88..0000000
--- a/nanologger/.objs/SH1106.o
+++ /dev/null
Binary files differ
diff --git a/nanologger/.objs/nanologger.o b/nanologger/.objs/nanologger.o
deleted file mode 100644
index bfc5777..0000000
--- a/nanologger/.objs/nanologger.o
+++ /dev/null
Binary files differ
diff --git a/nanologger/datalogger.h b/nanologger/datalogger.h
index 467131f..4fdf805 100644
--- a/nanologger/datalogger.h
+++ b/nanologger/datalogger.h
@@ -103,6 +103,9 @@ typedef struct {
#endif
#endif
+void btInit(int baudrate);
+void btSend(byte* data, byte length);
+
class CDataLogger {
public:
void initSender()
@@ -219,7 +222,7 @@ public:
dataSize += sdfile.print(pid, HEX);
dataSize += sdfile.write(',');
dataSize += sdfile.print(value1, 6);
- dataSize += sdfile.write(',');
+ dataSize += sdfile.write(' ');
dataSize += sdfile.print(value2, 6);
dataSize += sdfile.write('\n');
m_lastDataTime = dataTime;