Compare commits
No commits in common. "630250da7823ee2cff3917a8410bae13792dd303" and "53efb0c30960f92f0db61e553fecb46ff716f71d" have entirely different histories.
630250da78
...
53efb0c309
BIN
data/Background.png
Normal file
BIN
data/Background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 209 KiB |
@ -3,6 +3,7 @@ html {
|
||||
font-family: sans-serif, Arial, Helvetica;
|
||||
background-color: #d4d4d4;
|
||||
height: 100%;
|
||||
/* background-image: url('Background.png'); */
|
||||
background-repeat: repeat;
|
||||
background-size: 150% 150%;
|
||||
}
|
||||
|
@ -122,3 +122,7 @@ void deleteFile(const char * path) {
|
||||
Serial.println("Delete failed");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include <LittleFS.h>
|
||||
|
||||
// some usefull wrappers for Filesystem
|
||||
|
||||
bool mount_fs();
|
||||
bool format_fs();
|
||||
|
||||
|
@ -13,7 +13,6 @@ 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<uint16_t>(current_pwm));
|
||||
|
||||
current_tick++;
|
||||
|
@ -17,8 +17,9 @@ class Treppe {
|
||||
private:
|
||||
const uint8_t stufen;
|
||||
uint16_t time_per_stair = 300; // dimmtime per stair [ms]
|
||||
uint16_t idle_brightness = 400;
|
||||
uint16_t active_brightness = 700;
|
||||
uint16_t idle_brightness = 100;
|
||||
uint16_t idle_bright_internal = 0;
|
||||
uint16_t active_brightness = 500;
|
||||
|
||||
uint16_t ldr_schwelle = 7; // activation value for FSM [lx]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user