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

Add pulse_power support for OPP #1639

Merged
merged 6 commits into from
Jun 12, 2022
Merged

Add pulse_power support for OPP #1639

merged 6 commits into from
Jun 12, 2022

Conversation

cobra18t
Copy link
Collaborator

OPP firmware version 2.3.0.5 or newer support PWM for solenoid pulses. This PR adds support for that.

OPP pulse PWM is a 32bit bitmask where each bit represents 500us. The bitmasks were selected to reduce harmonics and minimize noise. The firmware added the same bitmasks to the hold PWM, but that change does not affect the MPF interface to OPP.

@cobra18t cobra18t marked this pull request as draft May 24, 2022 05:28
@cobra18t
Copy link
Collaborator Author

cobra18t commented May 24, 2022

It now passes the unit tests.

@cobra18t cobra18t marked this pull request as ready for review May 24, 2022 06:12
@cobra18t cobra18t requested a review from jabdoa2 May 24, 2022 06:12
@sonarcloud
Copy link

sonarcloud bot commented May 25, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@cobra18t cobra18t merged commit 670e799 into missionpinball:dev Jun 12, 2022
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.

1 participant