From 25851949cce42c297b8a5c6b4daf684196c78a01 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Fri, 15 Aug 2014 21:36:03 +1000 Subject: Add NanoTimer --- nanotimer/config.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 nanotimer/config.h (limited to 'nanotimer/config.h') diff --git a/nanotimer/config.h b/nanotimer/config.h new file mode 100644 index 0000000..42b7e70 --- /dev/null +++ b/nanotimer/config.h @@ -0,0 +1,32 @@ +#ifndef CONFIG_H_INCLUDED +#define CONFIG_H_INCLUDED + +/************************************** +* Data logging/streaming out +**************************************/ +#define ENABLE_DATA_OUT 0 +#define ENABLE_DATA_LOG 0 +#define USE_SOFTSERIAL 0 +//this defines the format of log file +#define LOG_FORMAT FORMAT_CSV + +/************************************** +* Choose SD pin here +**************************************/ +#define SD_CS_PIN 10 + +/************************************** +* Choose LCD model here +**************************************/ +//LCD_SSD1306 lcd; +LCD_SH1106 lcd; +//LCD_Null lcd; + +/************************************** +* Other options +**************************************/ +//#define OBD_MIN_INTERVAL 50 /* ms */ +//#define DEBUG Serial +#define DEBUG_BAUDRATE 9600 + +#endif // CONFIG_H_INCLUDED -- cgit v1.2.3