diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2014-05-11 13:13:44 +0800 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2014-05-11 13:13:44 +0800 |
commit | cdbb8b35621239c14bd7b1043614ad158b233c32 (patch) | |
tree | 39ce6087551bc136b585d86829d773ff0738a7de /unologger/unologger.ino | |
parent | 5958ea47a47d5f514403e39b132a4fc6035f0e5f (diff) | |
download | 2021-arduino-obd-cdbb8b35621239c14bd7b1043614ad158b233c32.tar.gz 2021-arduino-obd-cdbb8b35621239c14bd7b1043614ad158b233c32.tar.bz2 2021-arduino-obd-cdbb8b35621239c14bd7b1043614ad158b233c32.zip |
Update UNO logger
Diffstat (limited to 'unologger/unologger.ino')
-rw-r--r-- | unologger/unologger.ino | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unologger/unologger.ino b/unologger/unologger.ino index c6db802..da93d79 100644 --- a/unologger/unologger.ino +++ b/unologger/unologger.ino @@ -19,12 +19,14 @@ #endif #include "datalogger.h" -// logger states #define STATE_SD_READY 0x1 #define STATE_OBD_READY 0x2 #define STATE_ACC_READY 0x10 #define STATE_SLEEPING 0x20 +#define OBD_MODEL_UART 0 +#define OBD_MODEL_I2C 1 + static uint32_t lastFileSize = 0; static int speed = 0; static uint32_t distance = 0; |