Browse Source

updates format style

tags/v1.0.0
Simon Schmidt 3 years ago
parent
commit
35ba3e7573
6 changed files with 3 additions and 8 deletions
  1. BIN
      data/Background.png
  2. 0
    1
      data/style.css
  3. 1
    5
      lib/httpserver/filesys.cpp
  4. 0
    1
      lib/httpserver/filesys.h
  5. 1
    0
      lib/treppe/treppe.cpp
  6. 1
    1
      lib/treppe/treppe.h

BIN
data/Background.png View File


+ 0
- 1
data/style.css View File

font-family: sans-serif, Arial, Helvetica; font-family: sans-serif, Arial, Helvetica;
background-color: #d4d4d4; background-color: #d4d4d4;
height: 100%; height: 100%;
/* background-image: url('Background.png'); */
background-repeat: repeat; background-repeat: repeat;
background-size: 150% 150%; background-size: 150% 150%;
} }

+ 1
- 5
lib/httpserver/filesys.cpp View File

} else { } else {
Serial.println("Delete failed"); Serial.println("Delete failed");
} }
}



}

+ 0
- 1
lib/httpserver/filesys.h View File

#include <LittleFS.h> #include <LittleFS.h>


// some usefull wrappers for Filesystem // some usefull wrappers for Filesystem

bool mount_fs(); bool mount_fs();
bool format_fs(); bool format_fs();



+ 1
- 0
lib/treppe/treppe.cpp View File

current_pwm += differenz_pwm_pro_tick; current_pwm += differenz_pwm_pro_tick;
else else
current_pwm -= differenz_pwm_pro_tick; current_pwm -= differenz_pwm_pro_tick;
Serial.printf("dimm_stufe %d %f\n", stufe, current_pwm);
pwmController.setChannelPWM(stufe, static_cast<uint16_t>(current_pwm)); pwmController.setChannelPWM(stufe, static_cast<uint16_t>(current_pwm));


current_tick++; current_tick++;

+ 1
- 1
lib/treppe/treppe.h View File

private: private:
const uint8_t stufen; const uint8_t stufen;
uint16_t time_per_stair = 300; // dimmtime per stair [ms] uint16_t time_per_stair = 300; // dimmtime per stair [ms]
uint16_t idle_brightness = 100;
uint16_t idle_brightness = 400;
uint16_t active_brightness = 700; uint16_t active_brightness = 700;


uint16_t ldr_schwelle = 7; // activation value for FSM [lx] uint16_t ldr_schwelle = 7; // activation value for FSM [lx]

Loading…
Cancel
Save