Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (28 sloc) 938 Bytes
#ifndef CONFIG_H_INCLUDED
#define CONFIG_H_INCLUDED
/**************************************
* Data logging/streaming out
**************************************/
// enable(1)/disable(0) data logging (if SD card is present)
#define ENABLE_DATA_LOG 1
// enable(1)/disable(0) data streaming
#define ENABLE_DATA_OUT 0
// file size limit
#define MAX_DATA_FILE_SIZE 1024 /* KB */
/**************************************
* Hardware setup
**************************************/
// enable(1)/disable(0) MEMS sensor
#define USE_MEMS 1
// enable(1)/disable(0) GPS module
#define USE_GPS 1
// GPS parameters
#define GPS_SERIAL_BAUDRATE 115200L
// time for OBD-II attempt before entering non-OBD mode
#define OBD_ATTEMPT_TIME 180000
// motion threshold for waking up
#define WAKEUP_MOTION_THRESHOLD 0.15f /* in unit of G */
// engine jumpstart voltage
#define JUMPSTART_VOLTAGE 14 /* V */
#define SD_CS_PIN 10
#endif // CONFIG_H_INCLUDED
You can’t perform that action at this time.