Working version.
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
namespace trbc {
|
||||
|
||||
constexpr uint16_t kMinTimerMs = 2000;
|
||||
constexpr uint16_t kMaxTimerMs = 10000;
|
||||
constexpr uint16_t kMinTimerMs = MIN_TIMER_MS;
|
||||
constexpr uint16_t kMaxTimerMs = MAX_TIMER_MS;
|
||||
constexpr uint16_t kTimerStepMs = 100;
|
||||
|
||||
uint16_t clampTimerMs(int valueMs);
|
||||
|
||||
@@ -6,3 +6,5 @@
|
||||
#define WIFI_PASSWORD "your-password"
|
||||
#define TASMOTA_HOST "192.168.1.50"
|
||||
#define INITIAL_TIMER_MS 5000
|
||||
#define MIN_TIMER_MS 2000
|
||||
#define MAX_TIMER_MS 10000
|
||||
|
||||
@@ -7,3 +7,5 @@
|
||||
#define WIFI_PASSWORD "!Sternenlabor99!"
|
||||
#define TASMOTA_HOST "192.168.240.101"
|
||||
#define INITIAL_TIMER_MS 5000
|
||||
#define MIN_TIMER_MS 2000
|
||||
#define MAX_TIMER_MS 13000
|
||||
|
||||
Reference in New Issue
Block a user