-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Allow LED pin to be reassigned as MOTOR or SERVO #10022
Conversation
Need to make sure it shows up in configurator
This will be a GREAT feature! 👍 |
Looks like led initialization happens beffore servo/motor outputs, causing later, when overriding the led output with led enabled. |
Previously it used IO_TAG to check for the LED pin directly
This changes led hardware setup to prefer original led pin, but fall back to reassigned LED pin if that was changed to something else.
It would be great if the LED pad could be assigned to PINIO too. |
There's a another recent PR which allows the LED pin to be user-controlled PWM from 0% to 100%. Which includes 0 and 100, so functionally a PINIO*, but only controllable from Programming. I wasn't able to confirm that other PR, which was merged, actually works - but maybe I don't know how to use my new oscilloscope.
|
That might be possible, but will certainly be a bit complicated as it needs to handle user modes which may already be there. []s,Marcelo Bezerra ***@***.***>On 24 May 2024, at 18:32, Darren Lines ***@***.***> wrote:
It would be great if the LED pad could be assigned to PINIO too.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
This is a continuation of timer output mapping, adding led pins to the pool.