This commit is contained in:
Dominik Bartsch 2021-07-05 16:57:11 +02:00
commit 2139ff5943
6 changed files with 4 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 KiB

View File

@ -3,7 +3,6 @@ html {
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%;
} }

View File

@ -122,7 +122,3 @@ void deleteFile(const char * path) {
Serial.println("Delete failed"); Serial.println("Delete failed");
} }
} }

View File

@ -3,7 +3,6 @@
#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();

View File

@ -13,6 +13,7 @@ bool Treppe::dimm_stufe(uint8_t stufe)
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++;

View File

@ -17,9 +17,8 @@ class Treppe {
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 idle_bright_internal = 0; uint16_t active_brightness = 700;
uint16_t active_brightness = 500;
uint16_t ldr_schwelle = 7; // activation value for FSM [lx] uint16_t ldr_schwelle = 7; // activation value for FSM [lx]