Browse Source

hotfix

tags/v1.0.3
Simon Schmidt 2 years ago
parent
commit
c95ea1ed22
2 changed files with 4 additions and 1 deletions
  1. 1
    1
      data/index.html
  2. 3
    0
      lib/treppe/treppe.cpp

+ 1
- 1
data/index.html View File

@@ -14,7 +14,7 @@
<div class="param_block">
<input type="button" class="control" data-action="s_oben" value="sensor_oben">
<input type="button" class="control" data-action="s_unten" value="sensor_unten">
<input type="button" class="control" data-action="on_off" value="on_off">
<!-- <input type="button" class="control" data-action="on_off" value="on_off"> -->
</div>

<div class="param_block">

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

@@ -362,6 +362,9 @@ void Treppe::setup() {
// are written in flash!
EEPROM.get(EEP_START_ADDR, param); // get Parameters of flash
param_pend = param;
#ifndef LDR_REGELUNG
idle_pwm_ist = param.idle_pwm_max;
#endif

pinMode(13, OUTPUT);
pinMode(0, OUTPUT);

Loading…
Cancel
Save