-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWM functionallity is not workling correctly on channels > 7 #1909
Comments
I can confirm. arduino-esp32/cores/esp32/esp32-hal-ledc.c Lines 195 to 210 in 7df50a9
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
bump |
This stale issue has been automatically closed. Thank you for your contributions. |
This was fixed 12/4/19. Please test with v1.0.2. I can confirm it is working now. |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions. |
The PWM functionality is not working correctly on channels 8 - 15. My program below works when I use a channel between 0 an 7 (an LED blinks). When I change to a channel above 7 than setting the value 0 is ignored, setting every other value works.
I take a look in esp32-hal-ledc.c in method ledcWrite and see that there is a different behavior between group 0 an 1 and when setting the value 0 and every other value (lines 174 - 178). I think here must be something wrong for group 1 setting value 0.
PWM Freq = 5000
PWM resolution = 8
Hardware:
Board: MH-ET LIVE ESP32 DevKit
Core Installation/update date: 14/jul/2018
IDE name: Arduino IDE and Platform.io
Flash Frequency: 80Mhz
PSRAM enabled: ?
Upload Speed: 921600
Computer OS: Ubuntu
The text was updated successfully, but these errors were encountered: