feature/InfluxDB-Connection-Update #1
1 changed files with 2 additions and 1 deletions
|
@ -32,9 +32,10 @@
|
||||||
#define ROTOR_LENGTH_M (ROTOR_LENGTH_CM / 100.0)
|
#define ROTOR_LENGTH_M (ROTOR_LENGTH_CM / 100.0)
|
||||||
#define ROTOR_LENGTH_KM (ROTOR_LENGTH_M / 1000.0)
|
#define ROTOR_LENGTH_KM (ROTOR_LENGTH_M / 1000.0)
|
||||||
#define SEC_TO_HOUR_FACTOR (60.0 * 60.0)
|
#define SEC_TO_HOUR_FACTOR (60.0 * 60.0)
|
||||||
|
#define MPS_CORRECT_FACT 9.28
|
||||||
#define COUNT_TO_KMH ((TWO_PI * ROTOR_LENGTH_KM / WIND_SENSOR_MEAS_TIME_S) * SEC_TO_HOUR_FACTOR)
|
#define COUNT_TO_KMH ((TWO_PI * ROTOR_LENGTH_KM / WIND_SENSOR_MEAS_TIME_S) * SEC_TO_HOUR_FACTOR)
|
||||||
#define COUNT_TO_MPS (TWO_PI * ROTOR_LENGTH_M / WIND_SENSOR_MEAS_TIME_S)
|
#define COUNT_TO_MPS (TWO_PI * ROTOR_LENGTH_M / WIND_SENSOR_MEAS_TIME_S)
|
||||||
#define WINDSPEED_FACTOR COUNT_TO_MPS
|
#define WINDSPEED_FACTOR (COUNT_TO_MPS * MPS_CORRECT_FACT)
|
||||||
|
|
||||||
#define BAT_LOW_VOLTAGE 3.6
|
#define BAT_LOW_VOLTAGE 3.6
|
||||||
#define BAT_EMERGENCY_DEEPSLEEP_VOLTAGE 3.5
|
#define BAT_EMERGENCY_DEEPSLEEP_VOLTAGE 3.5
|
||||||
|
|
Loading…
Reference in a new issue