diff --git a/data/Background.png b/data/Background.png deleted file mode 100644 index 9d8f919..0000000 Binary files a/data/Background.png and /dev/null differ diff --git a/data/style.css b/data/style.css index 0420d92..8b0fd93 100644 --- a/data/style.css +++ b/data/style.css @@ -3,7 +3,6 @@ html { font-family: sans-serif, Arial, Helvetica; background-color: #d4d4d4; height: 100%; - /* background-image: url('Background.png'); */ background-repeat: repeat; background-size: 150% 150%; } diff --git a/lib/httpserver/filesys.cpp b/lib/httpserver/filesys.cpp index 2e2b1aa..1759a79 100644 --- a/lib/httpserver/filesys.cpp +++ b/lib/httpserver/filesys.cpp @@ -121,8 +121,4 @@ void deleteFile(const char * path) { } else { Serial.println("Delete failed"); } -} - - - - \ No newline at end of file +} \ No newline at end of file diff --git a/lib/httpserver/filesys.h b/lib/httpserver/filesys.h index da4a754..09a94db 100644 --- a/lib/httpserver/filesys.h +++ b/lib/httpserver/filesys.h @@ -3,7 +3,6 @@ #include // some usefull wrappers for Filesystem - bool mount_fs(); bool format_fs(); diff --git a/lib/treppe/treppe.cpp b/lib/treppe/treppe.cpp index 369f566..d32662e 100644 --- a/lib/treppe/treppe.cpp +++ b/lib/treppe/treppe.cpp @@ -13,6 +13,7 @@ bool Treppe::dimm_stufe(uint8_t stufe) current_pwm += differenz_pwm_pro_tick; else current_pwm -= differenz_pwm_pro_tick; + Serial.printf("dimm_stufe %d %f\n", stufe, current_pwm); pwmController.setChannelPWM(stufe, static_cast(current_pwm)); current_tick++; diff --git a/lib/treppe/treppe.h b/lib/treppe/treppe.h index c9461aa..38cbf8f 100644 --- a/lib/treppe/treppe.h +++ b/lib/treppe/treppe.h @@ -17,9 +17,8 @@ class Treppe { private: const uint8_t stufen; uint16_t time_per_stair = 300; // dimmtime per stair [ms] - uint16_t idle_brightness = 100; - uint16_t idle_bright_internal = 0; - uint16_t active_brightness = 500; + uint16_t idle_brightness = 400; + uint16_t active_brightness = 700; uint16_t ldr_schwelle = 7; // activation value for FSM [lx]