From 52ec349f08b80cfe773c2919b392b02f9f071b7f Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Fri, 4 Apr 2014 10:13:47 +0800 Subject: Update Nano Logger --- nanologger/.objs/MicroLCD.o | Bin 15208 -> 0 bytes nanologger/.objs/SH1106.o | Bin 11656 -> 0 bytes nanologger/.objs/nanologger.o | Bin 16648 -> 0 bytes nanologger/datalogger.h | 5 ++++- 4 files changed, 4 insertions(+), 1 deletion(-) delete mode 100644 nanologger/.objs/MicroLCD.o delete mode 100644 nanologger/.objs/SH1106.o delete mode 100644 nanologger/.objs/nanologger.o (limited to 'nanologger') diff --git a/nanologger/.objs/MicroLCD.o b/nanologger/.objs/MicroLCD.o deleted file mode 100644 index c23a55d..0000000 Binary files a/nanologger/.objs/MicroLCD.o and /dev/null differ diff --git a/nanologger/.objs/SH1106.o b/nanologger/.objs/SH1106.o deleted file mode 100644 index bac7e88..0000000 Binary files a/nanologger/.objs/SH1106.o and /dev/null differ diff --git a/nanologger/.objs/nanologger.o b/nanologger/.objs/nanologger.o deleted file mode 100644 index bfc5777..0000000 Binary files a/nanologger/.objs/nanologger.o and /dev/null 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; -- cgit v1.2.3