// WIFI Parameters const char* WIFI_SSID = "RepeaterWZ"; const char* WIFI_PASSWD = "Bau3rWLAN"; const char* HOSTNAME = "swimtrainer"; const bool CORS_HEADER = true; // HX711 connection const int LOADCELL_DOUT_PIN = D2; const int LOADCELL_SCK_PIN = D3; const int LED_PIN = D1; // Measurement parameters const int DELAY = 100; // interval in ms between measurements const int SESSION_SIZE = 1024*8; // how many data points are added to the session const byte MEASUREMENT_AVG_COUNT = 1; // averages over this many consecutive AD-converter reads const byte TARE_AVG_COUNT = 50; // number of measurements in tare-phase (to find 0 ) const int DIVIDER = 128; // uint32 measurements are divided by this factor, before stored in uint16_t