-
-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix duty and period conversion in pwm.c Conversions in pwm.c are bugous. Fix is already available for the original repository, but the merge request has not yet been accepted. See StefanBruens/ESP8266_new_pwm#26 for details. * Create macro to calculate max duty * Remove hard-coded maximum duty Class HardwarePWM actually provides a function to query the maximum value of duty. * Fix comment ENABLE_CUSTOM_PWM defaults to 1 since d870c27.
- Loading branch information
1 parent
e02467c
commit 0b646a5
Showing
4 changed files
with
39 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters