Skip to content

Update esp32-hal-ledc.c #1

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update esp32-hal-ledc.c #1

wants to merge 1 commit into from

Conversation

oycq
Copy link
Owner

@oycq oycq commented Dec 2, 2021

IN LINE 209:
if(group) {
LEDC_CHAN(group, channel).conf0.low_speed_update = 1;}
->group 1 is a LOW speed group.

BUT WHY IN LINE 319:
(chan/8)?LEDC_LS_SIG_OUT0_IDX:LEDC_HS_SIG_OUT0_IDX) ?
->group 1 is a HIGH speed group.

I think there is a conflick

if(group) {
        LEDC_CHAN(group, channel).conf0.low_speed_update = 1;}
So group 1 is LOW speed right?
BUT WHY
(chan/8)?LEDC_LS_SIG_OUT0_IDX:LEDC_HS_SIG_OUT0_IDX) ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant