-
Notifications
You must be signed in to change notification settings - Fork 7.6k
LEDC Refactoring - Peripheral manager implemented #8126
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
Merged
me-no-dev
merged 12 commits into
espressif:esp-idf-v5.1-libs
from
P-R-O-C-H-Y:LEDC-Periman
May 11, 2023
Merged
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6e6346d
LEDC periman implementation
P-R-O-C-H-Y 194a758
Fix examples
P-R-O-C-H-Y 73f698c
Rework tone
P-R-O-C-H-Y 57ae5cd
Update ledc docs
P-R-O-C-H-Y d17f9f3
fix missing bracket
P-R-O-C-H-Y bd021b0
Update analog funtions esp32-hal.h
P-R-O-C-H-Y fe9a0f4
Update CameraWebServer example
P-R-O-C-H-Y fd6711a
Fix HiFreq_ADC example
P-R-O-C-H-Y 20b6f6e
minor fixes - typos
P-R-O-C-H-Y 03097d4
Avoid calling tone/notone when tone already runs on dif. pin
P-R-O-C-H-Y 2127570
Remove unused channels_resolution
P-R-O-C-H-Y 9fa0a49
Merge branch 'esp-idf-v5.1-libs' into LEDC-Periman
P-R-O-C-H-Y File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, but I think that @me-no-dev want us to try to do not use Tasks within the peripherals.
I don't see a clear motivation for using a task in the
Tone
implementation...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe @PilnyTomas can take a look on this in separate PR, as he wrote this implementation :) (If I am right)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Motivation here is to be able to "setup" a melody and let it play, without having to wait for it to be over. Same goes for when you want to just set it to beep for 100ms and not having to wait. We could look into doing it blocking or maybe coming up with another idea.