Skip to content

Conversation

@jannic
Copy link
Member

@jannic jannic commented Oct 5, 2024

Operations on this are fallible: They return Err(DynPinError::IncompatibleFunction) if the pin is not configured to an incompatible function.

jannic added 3 commits October 5, 2024 15:33
Operations on this OutputPin are fallible: They return
Err(DynPinError::IncompatibleFunction) if the pin is not configured as
an output.
@jannic jannic marked this pull request as draft October 5, 2024 16:35
@jannic
Copy link
Member Author

jannic commented Oct 5, 2024

What other traits could sensibly be implemented for DynFunction?

@thejpster
Copy link
Member

I'd just add these for now and add more in another PR. When doing the #920 changes, this impl would have been useful! Without it, dyn pins aren't very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants