updates format style
This commit is contained in:
@@ -121,8 +121,4 @@ void deleteFile(const char * path) {
|
||||
} else {
|
||||
Serial.println("Delete failed");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -3,7 +3,6 @@
|
||||
#include <LittleFS.h>
|
||||
|
||||
// some usefull wrappers for Filesystem
|
||||
|
||||
bool mount_fs();
|
||||
bool format_fs();
|
||||
|
||||
|
||||
@@ -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<uint16_t>(current_pwm));
|
||||
|
||||
current_tick++;
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ 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_brightness = 400;
|
||||
uint16_t active_brightness = 700;
|
||||
|
||||
uint16_t ldr_schwelle = 7; // activation value for FSM [lx]
|
||||
|
||||
Reference in New Issue
Block a user