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

Set Outputs via DeviceID #1950

Merged
merged 3 commits into from
Feb 26, 2025
Merged

Conversation

elral
Copy link
Contributor

@elral elral commented Feb 23, 2025

This PR contains the changes from @DocMoebiuz branch 1885, so it's not my work. An additional bugfix to show up PWM pins in the UI is added. For this the pin number also for version 3 has to be saved in the class.
PR is issued to get a compiled version of the connector for users which need to use FW version 3.0.0 (like A6/A7 for ProMicro, ...)

Changes:
Outputs will be set via the deviceID and not via the pin anymore. This harmonize how to address all devices. The required changes are already part of the FW release 3.0.0.
If the board has a FW version of 3.0.0 or higher, the setting of outputs gets overriden by a new class. The new class sends the deviceID instead of the pin number

Fixes #1885

@elral elral requested a review from DocMoebiuz as a code owner February 23, 2025 06:05
Copy link

Build for this pull request:
MobiFlightConnector.zip

Copy link
Collaborator

@DocMoebiuz DocMoebiuz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment

Copy link

Build for this pull request:
MobiFlightConnector.zip

Copy link

Build for this pull request:
MobiFlightConnector.zip

@DocMoebiuz DocMoebiuz merged commit 33d7d4a into MobiFlight:main Feb 26, 2025
1 check passed
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.

Command for outputs should have deviceID and not pin number
2 participants