Use `Into<PinIdOrName>` in all device/expanders constructors
Open
code quality
feature request
good first issue
- Dominant language
- Rust
- Stars
- 38
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
**Motivation:**
A `PinIdOrName` enum was introduced to simplify the use of digital and analog pins (e.g., "D11", "A11").
To make the API more ergonomic and consistent, this enum should be accepted in all constructors that require a pin, including device drivers and expanders.
**API Change:**
No breaking change. This is a backward-compatible improvement via the `Into` trait, enabling seamless use of both `u8` and `String` literals.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.