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

✨[FEATURE] - Pistons should take in pros buttons #254

Open
ssejrog opened this issue Dec 21, 2024 · 0 comments
Open

✨[FEATURE] - Pistons should take in pros buttons #254

ssejrog opened this issue Dec 21, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ssejrog
Copy link
Member

ssejrog commented Dec 21, 2024

Is this feature related to a problem?

Many teams try to

piston.button_toggle(DIGITAL_R1);

instead of the expected

piston.button_toggle(master.get_digital(DIGITAL_R1));

What should be added?

New functions for .button_toggle and .buttons that take in PROS buttons. These can be wrappers for the current existing functions. These functions should have the same names (.button_toggle and .buttons) but they should take in PROS buttons as parameters.

OPTIONAL: Describe any solutions you've considered

OPTIONAL: Additional context

@ssejrog ssejrog added enhancement New feature or request help wanted Extra attention is needed labels Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant