diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 29 |
1 files changed, 28 insertions, 1 deletions
@@ -30,6 +30,9 @@ values are commented out, but some have default values */ +/////////////////////////////////////////////////////////////////////////////// +// Board version +// // You have to set this to match your board. The build will fail if // you don't set it. // @@ -39,8 +42,12 @@ values are commented out, but some have default values // // Default: not set, you have to set it // #define SM_BOARD_VERSION ... -#define SM_BOARD_VERSION 2 +#define SM_BOARD_VERSION 1 + +/////////////////////////////////////////////////////////////////////////////// +// Wait for serial before starting +// // If enabled the code won't start until you open the serial port // monitor or otherwise connect to the serial port. // @@ -54,6 +61,9 @@ values are commented out, but some have default values // Default: 1 // #define WAIT_FOR_SERIAL_BEFORE_STARING ... +/////////////////////////////////////////////////////////////////////////////// +// Persistent configuration +// // If enabled the settings for each sensor will be persisted in EEPROM // // Values: @@ -62,6 +72,19 @@ values are commented out, but some have default values // Default: 0 // #define PERSISTENT_CONFIGURATION_SUPPORT ... +/////////////////////////////////////////////////////////////////////////////// +// Use low power mode +// +// If enabled the device will try to use as little power as possible. +// +// Not fully functional yet so it is disabled by default. +// +// Values: +// 0: disabled +// 1: enabled +// Default: 0 +// #define USE_LOW_POWER_MODE ... + /* Default Values Section @@ -82,4 +105,8 @@ Do not touch stuff in this section, it only sets default values. #define SM_DEBUG 1 #endif +#ifndef LOW_POWER +#define LOW_POWER 0 +#endif + #endif |