Skip to content

Add LED Fade Example #105

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

Conversation

mjaspers2mtu
Copy link

An example that uses ULP self-modifying code to create a PWM-like LED dimming effect on GPIO 15.

An example that uses ULP self-modifying code to create a PWM-like LED dimming effect on GPIO 15.
@wnienhaus
Copy link
Collaborator

Very cool contribution! I like the self-modification to work around WAIT's fixed operand limitation.

Did you run this on an S2 or S3 (given that we're using the esp32s2 cpu option for both)? I want to test it too. Then we can merge this example.

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.

2 participants