Skip to content
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

Not an issue, an LED request #567

Open
Stewie-040882 opened this issue Feb 2, 2025 · 2 comments
Open

Not an issue, an LED request #567

Stewie-040882 opened this issue Feb 2, 2025 · 2 comments

Comments

@Stewie-040882
Copy link

could the frequency of the led pin be modified to around 400hz please, ive tried manually changing it, but cant figure it out.. the current frequency for the ai thinker gives a high frequency whine. Thanks

@s60sc
Copy link
Owner

s60sc commented Feb 2, 2025

line 354 in peripherals.cpp, change 5000 to 400

ledcAttach(lampPin, 5000, DUTY_BIT_DEPTH); // freq, resolution

@Stewie-040882
Copy link
Author

thats what id done, but since i didnt refresh the browser it didnt refresh the modification (sorry).. is it possible to add the led brightness under RC Config, or add a brightness slider while streaming, i only ask as when i toggle the built in LED on, it gets crazy hot. Thanks

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

No branches or pull requests

2 participants