/* Configuration parameters for the software */ #pragma once /* Sliding window decay time for averaging the movement values. * Value is in number of samples, assuming 16 Hz samplerate. */ #define MOVEMENT_DECAY_TIME 64 /* The rate of thermal change, unit is ppm/sec. This is the speed of * temperature change relative to the temperature difference between ambient * and chip. */ #define THERMAL_CONSTANT 3500 /* Poll interval when waiting for movement, in milliseconds */ #define POLL_INTERVAL_MIN 1000 #define POLL_INTERVAL_MAX 5000 /* Limit to wake up from POLL mode, in millig's */ #define WAKEUP_ACCELERATION 200