This website works better with JavaScript.
Home
Explore
Help
Sign In
schmidtsi76327
/
ESP8266_Treppenlicht
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
12
Wiki
Activity
Browse Source
small updates to treppe
tags/v1.0.0
Simon Schmidt
3 years ago
parent
7177472ea6
commit
0e5085c008
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
lib/treppe/treppe.cpp
+ 1
- 1
lib/treppe/treppe.cpp
View File
@@ -268,7 +268,7 @@ void Treppe::setup()
}
void Treppe::set_idle_prozent(int prozent) {
uint16_t new_pwm =
0xFFF
* prozent / 100;
uint16_t new_pwm =
active_pwm
* prozent / 100;
set_idle_pwm(new_pwm);
}
Write
Preview
Loading…
Cancel
Save